Spaces:
Build error
Build error
Commit
·
b15eaea
1
Parent(s):
1cfd324
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def temp(text):
|
|
43 |
return text
|
44 |
model_path = 'models/span.model'
|
45 |
model = SpanNet.load_model(model_path)
|
46 |
-
iface = gr.Interface(fn=
|
47 |
# iface = gr.Interface(fn=predict_label, inputs="text", outputs="text")
|
48 |
iface.launch()
|
49 |
|
|
|
43 |
return text
|
44 |
model_path = 'models/span.model'
|
45 |
model = SpanNet.load_model(model_path)
|
46 |
+
iface = gr.Interface(fn=temp, inputs="text", outputs="text")
|
47 |
# iface = gr.Interface(fn=predict_label, inputs="text", outputs="text")
|
48 |
iface.launch()
|
49 |
|