Spaces:
Runtime error
Runtime error
Commit
•
ac0ce33
1
Parent(s):
d5d398f
initial commit
Browse files
app.py
CHANGED
@@ -24,6 +24,6 @@ def sentiment_analysis(inp_text):
|
|
24 |
return response.text
|
25 |
|
26 |
inp_text = gr.inputs.Textbox(label='Input')
|
27 |
-
response
|
28 |
|
29 |
-
gr.Interface(function=sentiment_analysis, inputs=inp_text, outputs=response
|
|
|
24 |
return response.text
|
25 |
|
26 |
inp_text = gr.inputs.Textbox(label='Input')
|
27 |
+
response = gr.outputs.Textbox(label='Output')
|
28 |
|
29 |
+
gr.Interface(function=sentiment_analysis, inputs=inp_text, outputs=response, title='Sentiment Analysis', theme='peach').launch(enable_queue=True)
|