qisan commited on
Commit
9a29a07
·
1 Parent(s): dad1a37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks() as demo:
54
 
55
  inputs_text=gr.Textbox(placeholder='Type your text for which you want know the sentiment', label='Text')
56
  text_button = gr.Button('Analyse Sentiment')
57
- output_text_sentiment = gr.Image(placeholder='Sentiment of the text.', label='Sentiment')
58
  text_button.click(analyse, inputs = inputs_text, outputs = output_text_sentiment)
59
 
60
 
 
54
 
55
  inputs_text=gr.Textbox(placeholder='Type your text for which you want know the sentiment', label='Text')
56
  text_button = gr.Button('Analyse Sentiment')
57
+ output_text_sentiment = gr.Image(type="pil")
58
  text_button.click(analyse, inputs = inputs_text, outputs = output_text_sentiment)
59
 
60