Spaces:
Build error
Build error
Commit ·
5fa08a0
1
Parent(s): 1c501fc
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=
|
| 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=False)
|
| 49 |
# iface = gr.Interface(fn=predict_label, inputs="text", outputs="text",auth=True)
|
| 50 |
iface.launch(share=True, blocked_paths=['models'])
|
| 51 |
|