Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,4 +15,4 @@ def text2text_sentiment(text):
|
|
15 |
# UX
|
16 |
in_para = gr.Textbox(lines=1, label="Input text in English", placeholder="Place your text in English...")
|
17 |
out = gr.Textbox(lines=1, label="Sentiment")
|
18 |
-
|
|
|
15 |
# UX
|
16 |
in_para = gr.Textbox(lines=1, label="Input text in English", placeholder="Place your text in English...")
|
17 |
out = gr.Textbox(lines=1, label="Sentiment")
|
18 |
+
gr.Interface(text2text_sentiment, inputs=in_para, outputs=out).launch()
|