Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -64,11 +64,11 @@ def chat(message, history, openai_api_key):
|
|
64 |
|
65 |
for text_value in list(reversed(text_values)):
|
66 |
i = i + 1
|
67 |
-
texts += f"<b>Message {i}:</b><br>{text_value}"
|
68 |
|
69 |
for image_value in image_values:
|
70 |
i = i + 1
|
71 |
-
images += f"<b>File {i}:</b><br>[https://platform.openai.com/storage/files/{image_value}](https://platform.openai.com/storage/files/{image_value})"
|
72 |
except Exception as e:
|
73 |
raise gr.Error(e)
|
74 |
|
|
|
64 |
|
65 |
for text_value in list(reversed(text_values)):
|
66 |
i = i + 1
|
67 |
+
texts += f"<b>Message {i}:</b><br>{text_value}<br><br>"
|
68 |
|
69 |
for image_value in image_values:
|
70 |
i = i + 1
|
71 |
+
images += f"<b>File {i}:</b><br>[https://platform.openai.com/storage/files/{image_value}](https://platform.openai.com/storage/files/{image_value})<br><br>"
|
72 |
except Exception as e:
|
73 |
raise gr.Error(e)
|
74 |
|