Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ def create_demo():
|
|
| 122 |
|
| 123 |
submit_button.click(
|
| 124 |
generate_responses,
|
| 125 |
-
inputs=[user_message, [], system_message, max_tokens, temperature, top_p, selected_models],
|
| 126 |
outputs=[response[2] for response in response_boxes],
|
| 127 |
)
|
| 128 |
|
|
|
|
| 122 |
|
| 123 |
submit_button.click(
|
| 124 |
generate_responses,
|
| 125 |
+
inputs=[user_message, gr.State([]), system_message, max_tokens, temperature, top_p, selected_models],
|
| 126 |
outputs=[response[2] for response in response_boxes],
|
| 127 |
)
|
| 128 |
|