rexthecoder commited on
Commit
ffa05ed
·
1 Parent(s): 63e67d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,6 +17,6 @@ def predict_sentiment(input: Input, words):
17
  return f"{decoded_output}"
18
 
19
 
20
- iface = gr.Interface(fn=predict_sentiment, inputs=["text", gr.Slider(10, 100)], outputs="text")
21
 
22
  iface.launch()
 
17
  return f"{decoded_output}"
18
 
19
 
20
+ iface = gr.Interface(fn=predict_sentiment, inputs=[gr.Textbox(lines=2, placeholder="Conversations Here..."), gr.Slider(10, 100)], outputs="text")
21
 
22
  iface.launch()