Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def chat(state, message, file=None):
|
|
| 11 |
return state, state
|
| 12 |
|
| 13 |
with gr.ChatInterface(
|
| 14 |
-
|
| 15 |
state=gr.State([]),
|
| 16 |
placeholder="Enter your prompt here...",
|
| 17 |
title="GPT-4 Chatbot",
|
|
|
|
| 11 |
return state, state
|
| 12 |
|
| 13 |
with gr.ChatInterface(
|
| 14 |
+
fn=chat,
|
| 15 |
state=gr.State([]),
|
| 16 |
placeholder="Enter your prompt here...",
|
| 17 |
title="GPT-4 Chatbot",
|