Spaces:
Paused
Paused
support multi output
Browse files
app.py
CHANGED
|
@@ -194,7 +194,7 @@ def generate(*data):
|
|
| 194 |
print(response)
|
| 195 |
|
| 196 |
|
| 197 |
-
description = "\n
|
| 198 |
md_content = description
|
| 199 |
|
| 200 |
alt_texts_str = '\n\n### Alt text\n\n' + '\n- ' + '\n- '.join(alt_texts) if len(alt_texts) > 0 else ""
|
|
|
|
| 194 |
print(response)
|
| 195 |
|
| 196 |
|
| 197 |
+
description = "\n---\n".join([msg.content for msg in response])
|
| 198 |
md_content = description
|
| 199 |
|
| 200 |
alt_texts_str = '\n\n### Alt text\n\n' + '\n- ' + '\n- '.join(alt_texts) if len(alt_texts) > 0 else ""
|