Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -195,7 +195,7 @@ def generate_response(user_input, top_p, temperature, chat_counter, chatbot, his
|
|
| 195 |
history.append({"role": "assistant", "content": response_text})
|
| 196 |
|
| 197 |
chat_counter += 1
|
| 198 |
-
return history, history, chat_counter, "✅ Success", gr.update(value=", interactive=True), gr.update(interactive=True)
|
| 199 |
|
| 200 |
# --- Gradio UI ---
|
| 201 |
|
|
|
|
| 195 |
history.append({"role": "assistant", "content": response_text})
|
| 196 |
|
| 197 |
chat_counter += 1
|
| 198 |
+
return history, history, chat_counter, "✅ Success", gr.update(value="", interactive=True), gr.update(interactive=True)
|
| 199 |
|
| 200 |
# --- Gradio UI ---
|
| 201 |
|