ll7098ll commited on
Commit
e00223e
·
verified ·
1 Parent(s): c13a256

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -31,6 +31,8 @@ chat_session = model.start_chat(history=[])
31
  def respond(user_input, history):
32
  response = chat_session.send_message(user_input)
33
  history.append((user_input, response.text))
 
 
34
  return "", history
35
 
36
  with gr.Blocks() as demo:
 
31
  def respond(user_input, history):
32
  response = chat_session.send_message(user_input)
33
  history.append((user_input, response.text))
34
+ # 즉시 응답 출력
35
+ chatbot.append((user_input, response.text))
36
  return "", history
37
 
38
  with gr.Blocks() as demo: