Spaces:
Build error
Build error
Commit
·
1c501fc
1
Parent(s):
d3e2b9f
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def temp(text):
|
|
45 |
print('STARTING ..')
|
46 |
# model_path = 'models/span.model'
|
47 |
# model = SpanNet.load_model(model_path)
|
48 |
-
iface = gr.Interface(fn=temp, inputs="text", outputs="text", batch=True
|
49 |
# iface = gr.Interface(fn=predict_label, inputs="text", outputs="text",auth=True)
|
50 |
iface.launch(share=True, blocked_paths=['models'])
|
51 |
|
|
|
45 |
print('STARTING ..')
|
46 |
# model_path = 'models/span.model'
|
47 |
# model = SpanNet.load_model(model_path)
|
48 |
+
iface = gr.Interface(fn=temp, inputs="text", outputs="text", batch=True)
|
49 |
# iface = gr.Interface(fn=predict_label, inputs="text", outputs="text",auth=True)
|
50 |
iface.launch(share=True, blocked_paths=['models'])
|
51 |
|