Spaces:
Runtime error
Runtime error
Commit
·
0551e7e
1
Parent(s):
d11c57f
Update app.py
Browse files
app.py
CHANGED
@@ -44,10 +44,8 @@ suggestion_demo = gr.Interface(
|
|
44 |
manual_label_demo = gr.Interface(
|
45 |
fn=thanks,
|
46 |
title="Manually Label a News Article",
|
47 |
-
[
|
48 |
-
|
49 |
-
gr.Dropdown(["Positive","Negative","Neutral"], label="Select the sentiment of the news article.")
|
50 |
-
],
|
51 |
outputs = gr.Textbox()
|
52 |
)
|
53 |
|
|
|
44 |
manual_label_demo = gr.Interface(
|
45 |
fn=thanks,
|
46 |
title="Manually Label a News Article",
|
47 |
+
inputs=[gr.Textbox(label = "Paste in URL of news article here."),
|
48 |
+
gr.Dropdown(["Positive","Negative","Neutral"], label="Select the sentiment of the news article.")],
|
|
|
|
|
49 |
outputs = gr.Textbox()
|
50 |
)
|
51 |
|