Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def predict(twitter):
|
|
33 |
|
34 |
if __name__ == '__main__':
|
35 |
interFace = gr.Interface(fn=predict,
|
36 |
-
inputs=gr.
|
37 |
outputs=gr.outputs.Label(num_top_classes=6, label="Emotions of this tweet is "),
|
38 |
verbose=True,
|
39 |
examples=examples,
|
|
|
33 |
|
34 |
if __name__ == '__main__':
|
35 |
interFace = gr.Interface(fn=predict,
|
36 |
+
inputs=gr.Textbox(placeholder="Enter a tweet here", label="Tweet content", lines=5),
|
37 |
outputs=gr.outputs.Label(num_top_classes=6, label="Emotions of this tweet is "),
|
38 |
verbose=True,
|
39 |
examples=examples,
|