Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -194,7 +194,7 @@ def generate_suggestions(emotion):
|
|
| 194 |
formatted_suggestions.append("| Title | Link |")
|
| 195 |
formatted_suggestions.append("|-------|------|") # Table headers
|
| 196 |
formatted_suggestions += [
|
| 197 |
-
f"|
|
| 198 |
]
|
| 199 |
|
| 200 |
return "\n".join(formatted_suggestions)
|
|
|
|
| 194 |
formatted_suggestions.append("| Title | Link |")
|
| 195 |
formatted_suggestions.append("|-------|------|") # Table headers
|
| 196 |
formatted_suggestions += [
|
| 197 |
+
f"| {title} | [{link}]({link}) |" for title, link in suggestions.get(emotion_key, [("No specific suggestions available.", "#")])
|
| 198 |
]
|
| 199 |
|
| 200 |
return "\n".join(formatted_suggestions)
|