yxmauw commited on
Commit
ab5eff5
1 Parent(s): a413727

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def generate_response(model_name, message, chat_history):
17
  input_text = message
18
  response = model.generate(input_text, max_tokens=100)
19
  chat_history.append((input_text, response))
20
- return chat_history, response
21
 
22
  # Create Gradio UI
23
  with gr.Blocks() as demo:
 
17
  input_text = message
18
  response = model.generate(input_text, max_tokens=100)
19
  chat_history.append((input_text, response))
20
+ return "", chat_history, response
21
 
22
  # Create Gradio UI
23
  with gr.Blocks() as demo: