File size: 712 Bytes
757d04b
 
336287c
ae1c3e5
 
757d04b
 
15643da
757d04b
 
 
e746d10
 
757d04b
 
478dcd7
 
e746d10
b72816e
 
 
e746d10
 
 
 
b72816e
 
 
 
 
2e6b605
478dcd7
faec829
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: Swedish Entity Recognition
emoji: 🇸🇪
colorFrom: #0047AB
colorTo: #FFFF8F
sdk: gradio
sdk_version: 3.12.0
python_version: 3.9.13
app_file: app.py
pinned: false
license: openrail
models:
    - KBLab/bert-base-swedish-cased-ner
---

# Swedish Entity Recognition

## Installing locally

Setup:

    source env/bin/activate
    pip3 install -r requirements.txt

Then run:

    python3 app.py

and test your Gradio app on: http://127.0.0.1:7860/

## REST API via Gradio’s “Use via API” feature (see page footer)

    curl -X POST -H 'Content-type: application/json' --data '{ "data": ["Jag heter Tom och bor i Stockholm."] }' https://tomsoderlund-swedish-entity-recognition.hf.space/run/predict