joaopdrm commited on
Commit
156d9da
·
1 Parent(s): 093fcf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -30,7 +30,11 @@ def main():
30
  model = Emotionclass("bhadresh-savani/bert-base-uncased-emotion")
31
  iface = gr.Interface(
32
  fn=model.predict,
33
- inputs="text",
 
 
 
 
34
  outputs=["text"],
35
  title="Sentiment Classification",
36
  )
 
30
  model = Emotionclass("bhadresh-savani/bert-base-uncased-emotion")
31
  iface = gr.Interface(
32
  fn=model.predict,
33
+ inputs=gr.inputs.Textbox(
34
+ lines=3,
35
+ placeholder="type here",
36
+ label="Input",
37
+ ),
38
  outputs=["text"],
39
  title="Sentiment Classification",
40
  )