Spaces:
Runtime error
Runtime error
m-newhauser
commited on
Commit
•
d66b3f1
1
Parent(s):
70ab481
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,8 @@ examples = [["Team Biden would rather fund the Ayatollah's Death to America regi
|
|
8 |
interface = gr.Interface.load("huggingface/m-newhauser/distilbert-political-tweets",
|
9 |
description=description,
|
10 |
examples=examples,
|
|
|
|
|
11 |
allow_flagging=False
|
12 |
)
|
13 |
|
|
|
8 |
interface = gr.Interface.load("huggingface/m-newhauser/distilbert-political-tweets",
|
9 |
description=description,
|
10 |
examples=examples,
|
11 |
+
inputs=gr.inputs.Textbox(lines=6, placeholder="Paste a tweet here!"), # the input text box
|
12 |
+
outputs="label",
|
13 |
allow_flagging=False
|
14 |
)
|
15 |
|