gaspar-avit commited on
Commit
ad0800c
·
1 Parent(s): bf2e641

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -211,9 +211,10 @@ def generate_poster(movie_data):
211
  """
212
 
213
  # Get movie genres
214
- st.write(movie_data['genres'])
215
- #genres = [i['name'] for i in eval(movie_data['genres'])]
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("")