Akjava commited on
Commit
5a1795d
·
verified ·
1 Parent(s): 06d3491

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def call_generate_text(message, history):
80
  messages = history+[{"role":"user","content":message}]
81
  try:
82
  text = generate_text(messages)
83
- return text,history
84
  except RuntimeError as e:
85
  print(f"An unexpected error occurred: {e}")
86
 
 
80
  messages = history+[{"role":"user","content":message}]
81
  try:
82
  text = generate_text(messages)
83
+ return "",messages
84
  except RuntimeError as e:
85
  print(f"An unexpected error occurred: {e}")
86