Spaces:
Runtime error
Runtime error
Commit
·
9c2eab2
1
Parent(s):
d574554
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ 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 |
-
nested
|
75 |
inputs = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article."),
|
76 |
outputs = gr.Textbox(),
|
77 |
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 |
+
nested = gr.Interface(
|
75 |
inputs = gr.Dropdown(["Positive","Negative","Neutral"], label="Select the true sentiment of the news article."),
|
76 |
outputs = gr.Textbox(),
|
77 |
fn = thanks,
|