kiptoozeff commited on
Commit
8156d9b
·
verified ·
1 Parent(s): 4beb959

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -34,10 +34,8 @@ def predict(twitter):
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.Label(num_top_classes=6, label="Emotions of this tweet is "),
38
- verbose=True,
39
  examples=examples,
40
  title="Emotions of English tweet",
41
- description="",
42
- theme="grass")
43
  interFace.launch()
 
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
  examples=examples,
39
  title="Emotions of English tweet",
40
+ description="")
 
41
  interFace.launch()