bstraehle commited on
Commit
ac5b26b
1 Parent(s): a39c626

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -59,7 +59,8 @@ def chat(message, history):
59
  if len(image_values) > 0:
60
  download_link = f"<hr>[Download](https://platform.openai.com/storage/files/{image_values[0]})"
61
 
62
- return f"{'<hr>'.join(list(reversed(text_values))[1:])}{download_link}"
 
63
 
64
  gr.ChatInterface(
65
  fn=chat,
 
59
  if len(image_values) > 0:
60
  download_link = f"<hr>[Download](https://platform.openai.com/storage/files/{image_values[0]})"
61
 
62
+ #return f"{'<hr>'.join(list(reversed(text_values))[1:])}{download_link}"
63
+ return f"{text_values[0]}{download_link}"
64
 
65
  gr.ChatInterface(
66
  fn=chat,