bstraehle commited on
Commit
6b06428
1 Parent(s): 20a0be5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -294,7 +294,8 @@ def chat(message, history):
294
  if len(image_values) > 0:
295
  download_link = f"<p>Download: https://platform.openai.com/storage/files/{image_values[0]}</p>"
296
 
297
- return f"{text_values[0]}{download_link}"
 
298
 
299
  gr.ChatInterface(
300
  fn=chat,
 
294
  if len(image_values) > 0:
295
  download_link = f"<p>Download: https://platform.openai.com/storage/files/{image_values[0]}</p>"
296
 
297
+ #return f"{text_values[0]}{download_link}"
298
+ return f"{"<br />".join(text_values)}{download_link}"
299
 
300
  gr.ChatInterface(
301
  fn=chat,