enio commited on
Commit
9036b83
·
1 Parent(s): 62fc2cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -11,5 +11,8 @@ def sentiment(text):
11
  else:
12
  return "Negative"
13
 
14
- iface = gr.Interface(fn=sentiment, inputs="text", outputs="text")
 
 
 
15
  iface.launch()
 
11
  else:
12
  return "Negative"
13
 
14
+ iface = gr.Interface(
15
+ fn=sentiment,
16
+ inputs=gr.Textbox(label="Input Text",elem_id="Input"),
17
+ outputs="text")
18
  iface.launch()