Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| examples = [["El útero o matriz es el lugar donde se desarrolla el bebé cuando una mujer está embarazada."], ["El síndrome de dolor regional complejo es un trastorno de dolor crónico."]] | |
| theme="grass" | |
| title="Spanish Medical NER Demo" | |
| description="A Spanish Medical NER Demo to label medical text with these labels: 'Concept', 'Action', 'Predicate' or 'Reference'. Many improvements to do, feedback welcome!!" | |
| inputs=gr.inputs.Textbox(label="Introduce o elige un ejemplo de texto médico") | |
| gr.Interface.load("huggingface/fmmolina/bert-base-spanish-wwm-uncased-finetuned-NER-medical", inputs = inputs, theme=theme, examples=examples, title=title, description=description).launch(); |