fmmolina commited on
Commit
82ffe66
1 Parent(s): 3d2de73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,4 +5,5 @@ examples = [["El útero o matriz es el lugar donde se desarrolla el bebé cuando
5
  theme="grass"
6
  title="Spanish Medical NER Demo"
7
  description="A Spanish Medical NER Demo to label medical text with these labels: 'Concept', 'Action', 'Predicate' or 'Reference'"
8
- gr.Interface.load("huggingface/fmmolina/bert-base-spanish-wwm-uncased-finetuned-NER-medical", theme=theme, examples=examples, title=title, description=description).launch();
 
 
5
  theme="grass"
6
  title="Spanish Medical NER Demo"
7
  description="A Spanish Medical NER Demo to label medical text with these labels: 'Concept', 'Action', 'Predicate' or 'Reference'"
8
+ inputs=gr.inputs.Textbox(label="Introduce o elige un ejemplo de texto médico")
9
+ gr.Interface.load("huggingface/fmmolina/bert-base-spanish-wwm-uncased-finetuned-NER-medical", inputs = inputs, theme=theme, examples=examples, title=title, description=description).launch();