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