RomZay commited on
Commit
57ccf2c
·
verified ·
1 Parent(s): e519228

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ with gr.Blocks(css=".chatbox {height: 400px; overflow: auto; border: 1px solid #
147
  history_state = gr.State([])
148
  last_message_state = gr.State("")
149
 
150
- def user_interaction(message, history, api_key, max_tokens, top_p, temperature):
151
  history, assistant_reply = respond(message, api_key, max_tokens, top_p, temperature)
152
 
153
  for user_message, assistant_message, user_profile, assistant_profile, user_pic, assistant_pic in history:
 
147
  history_state = gr.State([])
148
  last_message_state = gr.State("")
149
 
150
+ def user_interaction(message, history, api_key, max_tokens, top_p, temperature):
151
  history, assistant_reply = respond(message, api_key, max_tokens, top_p, temperature)
152
 
153
  for user_message, assistant_message, user_profile, assistant_profile, user_pic, assistant_pic in history: