Spaces:
Runtime error
Runtime error
Commit
·
ffa78eb
1
Parent(s):
5149066
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,6 +71,7 @@ with gr.Blocks() as manual_label_demo:
|
|
| 71 |
generate_btn = gr.Button('Show me a headline!')
|
| 72 |
generate_btn.click(fn=manual_label, outputs=[gr.Textbox(label="News Headline"),gr.Textbox(label="Our Predicted Sentiment")])
|
| 73 |
drop_down_label = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article.")
|
|
|
|
| 74 |
submit_btn.click(fn=thanks, inputs=drop_down_label)
|
| 75 |
|
| 76 |
manual_label_demo1 = gr.Interface(
|
|
|
|
| 71 |
generate_btn = gr.Button('Show me a headline!')
|
| 72 |
generate_btn.click(fn=manual_label, outputs=[gr.Textbox(label="News Headline"),gr.Textbox(label="Our Predicted Sentiment")])
|
| 73 |
drop_down_label = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article.")
|
| 74 |
+
submit_btn = gr.Button('Submit your sentiment!')
|
| 75 |
submit_btn.click(fn=thanks, inputs=drop_down_label)
|
| 76 |
|
| 77 |
manual_label_demo1 = gr.Interface(
|