AmirShabani
commited on
Commit
·
14282a4
1
Parent(s):
d316fc7
Update again
Browse files
app.py
CHANGED
@@ -104,7 +104,8 @@ user_input = {}
|
|
104 |
def display_movie(movie, rating):
|
105 |
|
106 |
global user_input
|
107 |
-
|
|
|
108 |
poster = get_poster(movie)
|
109 |
|
110 |
if len(user_input) == 5:
|
|
|
104 |
def display_movie(movie, rating):
|
105 |
|
106 |
global user_input
|
107 |
+
data = get_data(movie)
|
108 |
+
user_input[f"{data['title']} ({data['year']})"] = rating
|
109 |
poster = get_poster(movie)
|
110 |
|
111 |
if len(user_input) == 5:
|