seawolf2357 commited on
Commit
ac0ce33
1 Parent(s): d5d398f

initial commit

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.text = gr.outputs.Textbox(label='Output')
28
 
29
- gr.Interface(function=sentiment_analysis, inputs=inp_text, outputs=response.text, title='Sentiment Analysis', theme='peach').launch(enable_queue=True)
 
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)