Spaces:
Running
Running
Update app.py
Browse files
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 |
|