thak123 commited on
Commit
af3ae7f
·
1 Parent(s): db4dc28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -62,8 +62,10 @@ def sentence_prediction(sentence):
62
  demo = gr.Interface(
63
  fn=sentence_prediction,
64
  inputs=gr.Textbox(placeholder="Enter a sentence here..."),
65
- outputs="label",
66
  # interpretation="default",
67
  examples=[["!"]])
68
 
69
- demo.launch(debug = True)
 
 
 
62
  demo = gr.Interface(
63
  fn=sentence_prediction,
64
  inputs=gr.Textbox(placeholder="Enter a sentence here..."),
65
+ # outputs="label",
66
  # interpretation="default",
67
  examples=[["!"]])
68
 
69
+ demo.launch(debug = True,
70
+ enable_queue=True,
71
+ show_error = True)