Spaces:
Build error
Build error
Commit
·
2088406
1
Parent(s):
b15eaea
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def predict_label(text):
|
|
42 |
def temp(text):
|
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()
|
|
|
42 |
def temp(text):
|
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()
|