merve HF staff commited on
Commit
5c594a5
1 Parent(s): b137a27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,8 +105,8 @@ with gr.Blocks(theme="soft") as demo:
105
 
106
  sentiment_submit = gr.Button()
107
  sentiment_output = gr.Textbox(label="Sentiment Analysis Output")
108
- sentiment_submit.click(nli, inputs=[sentiment_input, sentiment_choice], outputs=sentiment_output)
109
- sentiment_examples = gr.Examples(examples = sentiment_example, inputs = [sentiment_input, sentiment_choice], outputs=sentiment_output, fn=sentiment)
110
 
111
 
112
  with gr.Tab("NLI"):
 
105
 
106
  sentiment_submit = gr.Button()
107
  sentiment_output = gr.Textbox(label="Sentiment Analysis Output")
108
+ sentiment_submit.click(sentiment_analysis, inputs=[sentiment_input, sentiment_choice], outputs=sentiment_output)
109
+ sentiment_examples = gr.Examples(examples = sentiment_example, inputs = [sentiment_input, sentiment_choice], outputs=sentiment_output, fn=sentiment_analysis)
110
 
111
 
112
  with gr.Tab("NLI"):