Update app.py
Browse files
app.py
CHANGED
|
@@ -39,5 +39,5 @@ outputs = gr.outputs.Chatbox(label="Sentiment", lines=1)
|
|
| 39 |
|
| 40 |
# Run the interface
|
| 41 |
interface = gr.Interface(predict_sentiment, inputs, outputs, title="Sentiment Analysis",
|
| 42 |
-
|
| 43 |
interface.launch()
|
|
|
|
| 39 |
|
| 40 |
# Run the interface
|
| 41 |
interface = gr.Interface(predict_sentiment, inputs, outputs, title="Sentiment Analysis",
|
| 42 |
+
on_output=update_history)
|
| 43 |
interface.launch()
|