Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,8 +93,7 @@ def generate_response(user_input, top_p, temperature, chat_counter, chatbot, his
|
|
| 93 |
history.append({"role": "assistant", "content": response_text})
|
| 94 |
|
| 95 |
chat_counter += 1
|
| 96 |
-
return history, history, chat_counter, "✅ Success", gr.update(value
|
| 97 |
-
'), gr.update(interactive=True)
|
| 98 |
|
| 99 |
def reset_textbox():
|
| 100 |
return gr.update(value=\'\
|
|
|
|
| 93 |
history.append({"role": "assistant", "content": response_text})
|
| 94 |
|
| 95 |
chat_counter += 1
|
| 96 |
+
return history, history, chat_counter, "✅ Success", gr.update(value=''), gr.update(interactive=True)
|
|
|
|
| 97 |
|
| 98 |
def reset_textbox():
|
| 99 |
return gr.update(value=\'\
|