Spaces:
Sleeping
Sleeping
Commit
·
35da36f
1
Parent(s):
ead8f37
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def funct(sentence):
|
|
| 18 |
|
| 19 |
with gr.Blocks() as app:
|
| 20 |
message = gr.Textbox(label='input')
|
| 21 |
-
sentiment = gr.
|
| 22 |
submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
|
| 23 |
|
| 24 |
gr.Examples(
|
|
@@ -35,6 +35,6 @@ with gr.Blocks() as app:
|
|
| 35 |
|
| 36 |
submit.click(fn=funct,
|
| 37 |
inputs=message,
|
| 38 |
-
outputs=
|
| 39 |
|
| 40 |
app.launch(debug=True)
|
|
|
|
| 18 |
|
| 19 |
with gr.Blocks() as app:
|
| 20 |
message = gr.Textbox(label='input')
|
| 21 |
+
sentiment = gr.Textbox(label='chatbot')
|
| 22 |
submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
|
| 23 |
|
| 24 |
gr.Examples(
|
|
|
|
| 35 |
|
| 36 |
submit.click(fn=funct,
|
| 37 |
inputs=message,
|
| 38 |
+
outputs=sentiment)
|
| 39 |
|
| 40 |
app.launch(debug=True)
|