Spaces:
Runtime error
Runtime error
gaspar-avit
commited on
Commit
·
9a43bce
1
Parent(s):
8493e6c
Upload app.py
Browse files
app.py
CHANGED
@@ -211,7 +211,7 @@ def generate_poster(movie_data):
|
|
211 |
"""
|
212 |
|
213 |
# Get movie genres
|
214 |
-
genres = [i['name'] for i in eval(
|
215 |
st.write(genres)
|
216 |
#genres_string = ', '.join(genres)
|
217 |
genres_string = []
|
|
|
211 |
"""
|
212 |
|
213 |
# Get movie genres
|
214 |
+
genres = [i['name'] for i in eval(movie_data['genres'].values[0])]
|
215 |
st.write(genres)
|
216 |
#genres_string = ', '.join(genres)
|
217 |
genres_string = []
|