POLRAMBORA commited on
Commit
fd820f8
·
verified ·
1 Parent(s): 63f6ecc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -200,7 +200,7 @@ with gr.Blocks(css=css) as demo:
200
  history_state = gr.State([])
201
  last_message_state = gr.State("")
202
 
203
- def user_interaction(message, history, api_key, max_tokens, top_p, temperature):
204
  loading_message = history + [(message, "Loading...", "You", "P-ALPLE", sessions[api_key]["avatar"], ASSISTANT_PIC_PATH)]
205
  yield render_message(loading_message), loading_message, ""
206
 
 
200
  history_state = gr.State([])
201
  last_message_state = gr.State("")
202
 
203
+ def user_interaction(message, history, api_key, max_tokens, top_p, temperature):
204
  loading_message = history + [(message, "Loading...", "You", "P-ALPLE", sessions[api_key]["avatar"], ASSISTANT_PIC_PATH)]
205
  yield render_message(loading_message), loading_message, ""
206