Spaces:
Runtime error
Runtime error
Commit
·
e856f83
1
Parent(s):
85b5803
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ suggestion_demo = gr.Interface(
|
|
90 |
)
|
91 |
|
92 |
with gr.Blocks() as manual_label_demo:
|
93 |
-
gr.Markdown("<h1 style='text-align: center;'> Label our Data</h1> This application will show you a
|
94 |
generate_btn = gr.Button('Show me a headline!')
|
95 |
generate_btn.click(fn=manual_label, outputs=[gr.Textbox(label="News Headline"),gr.Textbox(label="Our Predicted Sentiment")])
|
96 |
drop_down_label = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article.")
|
|
|
90 |
)
|
91 |
|
92 |
with gr.Blocks() as manual_label_demo:
|
93 |
+
gr.Markdown("<h1 style='text-align: center;'> Label our Data</h1> This application will show you a recent news headline and our predicted sentiment. To help us improve our model, choose the real sentiment of this headline from our dropdown and submit!")
|
94 |
generate_btn = gr.Button('Show me a headline!')
|
95 |
generate_btn.click(fn=manual_label, outputs=[gr.Textbox(label="News Headline"),gr.Textbox(label="Our Predicted Sentiment")])
|
96 |
drop_down_label = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article.")
|