Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ def generate_text(text):
|
|
| 8 |
# Define the Gradio interface.
|
| 9 |
chat_box = gr.Textbox(label="Chat Box")
|
| 10 |
chat_button = gr.Button("Send")
|
| 11 |
-
chat_response = gr.
|
| 12 |
|
| 13 |
|
| 14 |
chat_button.click(generate_text, chat_box, chat_response)
|
|
|
|
| 8 |
# Define the Gradio interface.
|
| 9 |
chat_box = gr.Textbox(label="Chat Box")
|
| 10 |
chat_button = gr.Button("Send")
|
| 11 |
+
chat_response = gr.Textbox(label="Chat Response")
|
| 12 |
|
| 13 |
|
| 14 |
chat_button.click(generate_text, chat_box, chat_response)
|