Spaces:
Runtime error
Runtime error
Commit
·
5a72153
1
Parent(s):
ffa78eb
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,8 @@ with gr.Blocks() as manual_label_demo:
|
|
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(
|
78 |
fn=thanks,
|
|
|
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, outputs=gr.Textbox()),
|
76 |
+
description = description2
|
77 |
|
78 |
manual_label_demo1 = gr.Interface(
|
79 |
fn=thanks,
|