gchhablani commited on
Commit
8678313
1 Parent(s): 6c2a73b

Fix spinner error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ with new_col1.beta_expander("Reference Caption"):
126
 
127
  sequence = ['']
128
  if new_col2.button("Generate Caption", help="Generate a caption in the Spanish."):
129
- with new_col2.spinner("Generating Sequence..."):
130
  sequence = generate_sequence(transformed_image, num_beams, temperature, top_p, do_sample, top_k, max_length)
131
  # print(sequence)
132
 
126
 
127
  sequence = ['']
128
  if new_col2.button("Generate Caption", help="Generate a caption in the Spanish."):
129
+ with st.spinner("Generating Sequence..."):
130
  sequence = generate_sequence(transformed_image, num_beams, temperature, top_p, do_sample, top_k, max_length)
131
  # print(sequence)
132