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