Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,11 +51,10 @@ def bot_kadi(history):
|
|
| 51 |
import gradio as gr
|
| 52 |
|
| 53 |
def add_text_to_chatbot(chat_history, user_input):
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
return chat_history, ""
|
| 59 |
|
| 60 |
def main():
|
| 61 |
with gr.Blocks() as demo:
|
|
|
|
| 51 |
import gradio as gr
|
| 52 |
|
| 53 |
def add_text_to_chatbot(chat_history, user_input):
|
| 54 |
+
|
| 55 |
+
chat_history = chat_history + [(user_input, None)]
|
| 56 |
+
yield history, ""
|
| 57 |
+
|
|
|
|
| 58 |
|
| 59 |
def main():
|
| 60 |
with gr.Blocks() as demo:
|