Spaces:
Sleeping
Sleeping
Commit
·
ffa05ed
1
Parent(s):
63e67d2
Update app.py
Browse files
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=["
|
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()
|