opex792 commited on
Commit
37cf39e
·
verified ·
1 Parent(s): 3e7e517

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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> {', '.join(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"
 
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"