Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def chat(message, history, openai_api_key):
|
|
62 |
if len(image_values) > 0:
|
63 |
image_value = f"[https://platform.openai.com/storage/files/{image_values[0]}](https://platform.openai.com/storage/files/{image_values[0]})<br><br>"
|
64 |
|
65 |
-
for text_value in list(reversed(text_values):
|
66 |
text_value += f"{text_value}<br><br>"
|
67 |
except Exception as e:
|
68 |
raise gr.Error(e)
|
|
|
62 |
if len(image_values) > 0:
|
63 |
image_value = f"[https://platform.openai.com/storage/files/{image_values[0]}](https://platform.openai.com/storage/files/{image_values[0]})<br><br>"
|
64 |
|
65 |
+
for text_value in list(reversed(text_values)):
|
66 |
text_value += f"{text_value}<br><br>"
|
67 |
except Exception as e:
|
68 |
raise gr.Error(e)
|