Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,13 +75,10 @@ def get_recommendations(game_name, data, feature_vectors):
|
|
| 75 |
|
| 76 |
# Truncate the about text to keep output clean
|
| 77 |
if about and about != "":
|
| 78 |
-
|
| 79 |
-
result += f"**About the Game:** {about_truncated}\n\n"
|
| 80 |
else:
|
| 81 |
result += "**About the Game:** No description available\n\n"
|
| 82 |
|
| 83 |
-
result += "---\n\n"
|
| 84 |
-
|
| 85 |
results.append((result, image_url))
|
| 86 |
|
| 87 |
return results
|
|
|
|
| 75 |
|
| 76 |
# Truncate the about text to keep output clean
|
| 77 |
if about and about != "":
|
| 78 |
+
result += f"**About the Game:** {about}\n\n"
|
|
|
|
| 79 |
else:
|
| 80 |
result += "**About the Game:** No description available\n\n"
|
| 81 |
|
|
|
|
|
|
|
| 82 |
results.append((result, image_url))
|
| 83 |
|
| 84 |
return results
|