Spaces:
Build error
Build error
Commit
·
09297aa
1
Parent(s):
c5f2b5e
Update app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,6 @@ 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")
|
49 |
-
# iface = gr.Interface(fn=predict_label, inputs="text", outputs="text")
|
50 |
-
iface.launch(share=True, blocked_paths=['models']
|
51 |
|
|
|
46 |
# model_path = 'models/span.model'
|
47 |
# model = SpanNet.load_model(model_path)
|
48 |
iface = gr.Interface(fn=temp, inputs="text", outputs="text")
|
49 |
+
# iface = gr.Interface(fn=predict_label, inputs="text", outputs="text",auth=True)
|
50 |
+
iface.launch(share=True, blocked_paths=['models'])
|
51 |
|