Spaces:
Runtime error
Runtime error
Julián Ganzabal
commited on
Commit
·
4500091
1
Parent(s):
4848a38
changed model
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
pipe = pipeline("image-classification")
|
|
|
5 |
gr.Interface.from_pipeline(pipe).launch()
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
# pipe = pipeline("image-classification")
|
5 |
+
pipe = pipeline("ner", model='mrm8488/bert-spanish-cased-finetuned-ner')
|
6 |
gr.Interface.from_pipeline(pipe).launch()
|