Update app.py
Browse files
app.py
CHANGED
|
@@ -31,8 +31,6 @@ 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 |
-
# 즉시 응답 출력
|
| 35 |
-
chatbot.append((user_input, response.text))
|
| 36 |
return "", history
|
| 37 |
|
| 38 |
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 |
return "", history
|
| 35 |
|
| 36 |
with gr.Blocks() as demo:
|