jchen8000 commited on
Commit
6d77b5c
·
verified ·
1 Parent(s): b32929c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -69,7 +69,8 @@ with gr.Blocks() as iface:
69
  # gr.Markdown("## Recommendation - Content-Based Filtering")
70
  gr.Interface(fn=recommend_movies,
71
  inputs=gr.Dropdown(movie_list, label=f"Select a Movie (Total movies: {total_movies}, randomly list {input_count} for demo purpose.)"),
72
- outputs=gr.outputs.Textbox(label="Recommended Movies:", placeholder="Movie recommendations will appear here...", lines=5),
 
73
  title="Movie Recommender - Content-Based Filtering",
74
  description="Select a movie to get recommendations based on content filtering.")
75
 
 
69
  # gr.Markdown("## Recommendation - Content-Based Filtering")
70
  gr.Interface(fn=recommend_movies,
71
  inputs=gr.Dropdown(movie_list, label=f"Select a Movie (Total movies: {total_movies}, randomly list {input_count} for demo purpose.)"),
72
+ outputs="textbox",
73
+ output_label="Recommended Movies:",
74
  title="Movie Recommender - Content-Based Filtering",
75
  description="Select a movie to get recommendations based on content filtering.")
76