jchen8000 commited on
Commit
3df8b3e
·
verified ·
1 Parent(s): eb62f95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def recommend_movies(movie):
57
  print(f"The longest movie name length is: {max_length}")
58
 
59
  headers = "Score{:10}Title".format("")
60
- return headers + "\n" + "\n".join([f"{score:>5.2f} {title:<20} " for title, score in recommendations])
61
 
62
 
63
  # Create the Gradio interface
 
57
  print(f"The longest movie name length is: {max_length}")
58
 
59
  headers = "Score{:10}Title".format("")
60
+ return headers + "\n" + "\n".join([f"{score:>10.2f} {title:<20} " for title, score in recommendations])
61
 
62
 
63
  # Create the Gradio interface