Spaces:
Running
Running
Update app.py
Browse files
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,
|