Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
-
from transformers import pipeline
|
5 |
#import gradio as gr
|
6 |
|
7 |
-
pipe = pipeline("token-classification", model="
|
8 |
|
9 |
-
demo = gr.Interface.from_pipeline(pipe)
|
10 |
-
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
gr.Interface.load("models/projecte-aina/multiner_ceil",src="models",aggregation_strategy="first").launch()
|
4 |
+
#from transformers import pipeline
|
5 |
#import gradio as gr
|
6 |
|
7 |
+
#pipe = pipeline("token-classification", model="projecte-aina/multiner_ceil",aggregation_strategy="first")
|
8 |
|
9 |
+
#demo = gr.Interface.from_pipeline(pipe)
|
10 |
+
#demo.launch()
|