Update app.py
Browse files
app.py
CHANGED
@@ -335,7 +335,7 @@ def search_movies(query, top_k=10):
|
|
335 |
movie = next((m for m in movies_data if m['id'] == movie_id), None)
|
336 |
if movie:
|
337 |
output += f"<h3>{movie['name']} ({movie['year']})</h3>\n"
|
338 |
-
output += f"<p><strong>Жанры:</strong> {
|
339 |
output += f"<p><strong>Описание:</strong> {movie['description']}</p>\n"
|
340 |
output += f"<p><strong>Релевантность:</strong> {similarity:.4f}</p>\n"
|
341 |
output += "<hr>\n"
|
|
|
335 |
movie = next((m for m in movies_data if m['id'] == movie_id), None)
|
336 |
if movie:
|
337 |
output += f"<h3>{movie['name']} ({movie['year']})</h3>\n"
|
338 |
+
output += f"<p><strong>Жанры:</strong> {movie['genresList']}</p>\n"
|
339 |
output += f"<p><strong>Описание:</strong> {movie['description']}</p>\n"
|
340 |
output += f"<p><strong>Релевантность:</strong> {similarity:.4f}</p>\n"
|
341 |
output += "<hr>\n"
|