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