Update app.py
Browse files
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)
|