Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,9 +52,9 @@ import gradio as gr
|
|
52 |
|
53 |
def add_text_to_chatbot(chat_history, user_input):
|
54 |
if user_input:
|
55 |
-
chat_history.append((
|
56 |
response = "This is a placeholder response. Replace this with your AI logic."
|
57 |
-
chat_history.append((
|
58 |
return chat_history, ""
|
59 |
|
60 |
def main():
|
|
|
52 |
|
53 |
def add_text_to_chatbot(chat_history, user_input):
|
54 |
if user_input:
|
55 |
+
chat_history.append((user_input, None))
|
56 |
response = "This is a placeholder response. Replace this with your AI logic."
|
57 |
+
chat_history.append((None, response))
|
58 |
return chat_history, ""
|
59 |
|
60 |
def main():
|