Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,9 +56,9 @@ def chat(message, history):
|
|
56 |
|
57 |
# TODO: Handle multiple images and other file types
|
58 |
if len(image_values) > 0:
|
59 |
-
download_link = f"
|
60 |
|
61 |
-
return f"{'
|
62 |
|
63 |
gr.ChatInterface(
|
64 |
fn=chat,
|
|
|
56 |
|
57 |
# TODO: Handle multiple images and other file types
|
58 |
if len(image_values) > 0:
|
59 |
+
download_link = f"[Download](https://platform.openai.com/storage/files/{image_values[0]})"
|
60 |
|
61 |
+
return f"{'***'.join(list(reversed(text_values))[1:])}***{download_link}"
|
62 |
|
63 |
gr.ChatInterface(
|
64 |
fn=chat,
|