nehalelkaref commited on
Commit
1c501fc
·
1 Parent(s): d3e2b9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, max_batch_size=1)
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