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