mrbeliever commited on
Commit
6e63bb6
·
verified ·
1 Parent(s): f855041

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ if uploaded_image:
99
  base64_string = convert_to_base64(compressed_image_data)
100
 
101
  # Call the Nebius API to generate a caption
102
- if st.button("Generate Prompt"):
103
  st.write("Generating Prompt...")
104
  result = generate_caption(base64_string, API_KEY)
105
 
 
99
  base64_string = convert_to_base64(compressed_image_data)
100
 
101
  # Call the Nebius API to generate a caption
102
+ if st.button("Generate Prompt", use_container_width=True):
103
  st.write("Generating Prompt...")
104
  result = generate_caption(base64_string, API_KEY)
105