Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,6 +82,6 @@ with gr.Blocks() as demo:
|
|
| 82 |
posscore = gr.Number(label="Positivity Score")
|
| 83 |
compscore = gr.Number(label="Compound Score")
|
| 84 |
rating = gr.Number(label="Generated Rating from Your Comment")
|
| 85 |
-
button.click(fn=take_input, inputs=
|
| 86 |
|
| 87 |
demo.launch()
|
|
|
|
| 82 |
posscore = gr.Number(label="Positivity Score")
|
| 83 |
compscore = gr.Number(label="Compound Score")
|
| 84 |
rating = gr.Number(label="Generated Rating from Your Comment")
|
| 85 |
+
button.click(fn=take_input, inputs="text", outputs=[negscore, neuscore, posscore, compscore, rating])
|
| 86 |
|
| 87 |
demo.launch()
|