Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -361,15 +361,13 @@ with gr.Blocks(theme=gr.themes.Soft(), title="MovieLens Recommender System") as
|
|
| 361 |
with gr.Column(scale=2):
|
| 362 |
recommendations_output = gr.Dataframe(
|
| 363 |
label="Recommended Movies",
|
| 364 |
-
wrap=True
|
| 365 |
-
height=500
|
| 366 |
)
|
| 367 |
|
| 368 |
gr.Markdown("### π User's Rating History")
|
| 369 |
user_history_output = gr.Dataframe(
|
| 370 |
label="Top Rated Movies by This User",
|
| 371 |
-
wrap=True
|
| 372 |
-
height=300
|
| 373 |
)
|
| 374 |
|
| 375 |
# Connect buttons
|
|
@@ -397,8 +395,7 @@ with gr.Blocks(theme=gr.themes.Soft(), title="MovieLens Recommender System") as
|
|
| 397 |
|
| 398 |
search_output = gr.Dataframe(
|
| 399 |
label="Search Results",
|
| 400 |
-
wrap=True
|
| 401 |
-
height=500
|
| 402 |
)
|
| 403 |
|
| 404 |
search_btn.click(
|
|
|
|
| 361 |
with gr.Column(scale=2):
|
| 362 |
recommendations_output = gr.Dataframe(
|
| 363 |
label="Recommended Movies",
|
| 364 |
+
wrap=True
|
|
|
|
| 365 |
)
|
| 366 |
|
| 367 |
gr.Markdown("### π User's Rating History")
|
| 368 |
user_history_output = gr.Dataframe(
|
| 369 |
label="Top Rated Movies by This User",
|
| 370 |
+
wrap=True
|
|
|
|
| 371 |
)
|
| 372 |
|
| 373 |
# Connect buttons
|
|
|
|
| 395 |
|
| 396 |
search_output = gr.Dataframe(
|
| 397 |
label="Search Results",
|
| 398 |
+
wrap=True
|
|
|
|
| 399 |
)
|
| 400 |
|
| 401 |
search_btn.click(
|