bstraehle commited on
Commit
21ce7f1
1 Parent(s): 133229a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -299,7 +299,7 @@ def chat(message, history):
299
  download_link = f"<p>Download: https://platform.openai.com/storage/files/{image_values[0]}</p>"
300
 
301
  #return f"{text_values[0]}{download_link}"
302
- return f"{'<hr>'.join(reversed(text_values)[1:])}{download_link}"
303
 
304
  gr.ChatInterface(
305
  fn=chat,
 
299
  download_link = f"<p>Download: https://platform.openai.com/storage/files/{image_values[0]}</p>"
300
 
301
  #return f"{text_values[0]}{download_link}"
302
+ return f"{'<hr>'.join(list(reversed(text_values))[1:])}{download_link}"
303
 
304
  gr.ChatInterface(
305
  fn=chat,