gaspar-avit commited on
Commit
6d82a23
1 Parent(s): 2bd107f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -222,7 +222,7 @@ def generate_poster(movie_data):
222
 
223
  # Get summarization of movie synopsis
224
  st.text("")
225
- with st.spinner("Please wait while the synopsis is being summarized..."):
226
  synopsis_sum = query_summary(movie_data.overview.values[0])
227
 
228
  # Print summarized synopsis
@@ -237,7 +237,7 @@ def generate_poster(movie_data):
237
 
238
 
239
  # Get image based on synopsis
240
- with st.spinner("Generating poster image... This could take a few minutes."):
241
  response_content = query_generate(synopsis_sum, genres_string, year)
242
 
243
  # Show image
 
222
 
223
  # Get summarization of movie synopsis
224
  st.text("")
225
+ with st.spinner("Summarizing synopsis..."):
226
  synopsis_sum = query_summary(movie_data.overview.values[0])
227
 
228
  # Print summarized synopsis
 
237
 
238
 
239
  # Get image based on synopsis
240
+ with st.spinner("Generating poster..."):
241
  response_content = query_generate(synopsis_sum, genres_string, year)
242
 
243
  # Show image