Spaces:
Sleeping
Sleeping
Commit ·
ac5cff1
1
Parent(s): 19ef109
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,8 +18,8 @@ def funct(sentence):
|
|
| 18 |
|
| 19 |
with gr.Blocks() as app:
|
| 20 |
sentence = gr.Textbox(label='input')
|
| 21 |
-
sentiment = gr.
|
| 22 |
-
submit = gr.Button(
|
| 23 |
|
| 24 |
submit.click(fn=funct,
|
| 25 |
inputs=sentence,
|
|
|
|
| 18 |
|
| 19 |
with gr.Blocks() as app:
|
| 20 |
sentence = gr.Textbox(label='input')
|
| 21 |
+
sentiment = gr.Textbox(label='chatbot')
|
| 22 |
+
submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
|
| 23 |
|
| 24 |
submit.click(fn=funct,
|
| 25 |
inputs=sentence,
|