Spaces:
Runtime error
Runtime error
gaspar-avit
commited on
Commit
·
ad0800c
1
Parent(s):
bf2e641
Upload app.py
Browse files
app.py
CHANGED
@@ -211,9 +211,10 @@ def generate_poster(movie_data):
|
|
211 |
"""
|
212 |
|
213 |
# Get movie genres
|
214 |
-
|
215 |
-
|
216 |
#genres_string = ', '.join(genres)
|
|
|
217 |
|
218 |
# Get summarization of movie synopsis
|
219 |
st.text("")
|
|
|
211 |
"""
|
212 |
|
213 |
# Get movie genres
|
214 |
+
genres = [i['name'] for i in movie_data['genres']]
|
215 |
+
st.write(genres)
|
216 |
#genres_string = ', '.join(genres)
|
217 |
+
genres_string = []
|
218 |
|
219 |
# Get summarization of movie synopsis
|
220 |
st.text("")
|