Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -61,6 +61,6 @@ with gr.Blocks() as demo:
|
|
61 |
comment_scores = gr.Textbox(label="Sentiment Scores of Your Comment")
|
62 |
rating = gr.Textbox(label="Generated Rating from Your Comment")
|
63 |
greet_btn = gr.Button("What is the Rating I Gave? Click me to Learn")
|
64 |
-
greet_btn.click(fn=
|
65 |
|
66 |
demo.launch()
|
|
|
61 |
comment_scores = gr.Textbox(label="Sentiment Scores of Your Comment")
|
62 |
rating = gr.Textbox(label="Generated Rating from Your Comment")
|
63 |
greet_btn = gr.Button("What is the Rating I Gave? Click me to Learn")
|
64 |
+
greet_btn.click(fn=take_input, inputs=comment, outputs=[comment_scores, rating])
|
65 |
|
66 |
demo.launch()
|