Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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 |
|