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