Spaces:
Running
Running
salomonsky
commited on
Commit
•
5af9e2e
1
Parent(s):
10ba16c
Update app.py
Browse files
app.py
CHANGED
@@ -205,7 +205,7 @@ async def main():
|
|
205 |
generated_image_path = st.session_state.get('generated_image_path')
|
206 |
prompt = st.sidebar.text_area("Descripción de la imagen", height=150, max_chars=500)
|
207 |
format_option = st.sidebar.selectbox("Formato", ["9:16", "16:9"])
|
208 |
-
model_option = st.sidebar.selectbox("Modelo", ["black-forest-labs/FLUX.1-schnell", "black-forest-labs/FLUX.1-dev"
|
209 |
prompt_checkbox = st.sidebar.checkbox("Prompt Enhancer"), upscale_checkbox = st.sidebar.checkbox("Escalar imagen")
|
210 |
width, height = (360, 640) if format_option == "9:16" else (640, 360) if format_option == "16:9" else (640, 640)
|
211 |
num_variants = st.sidebar.slider("Número de imágenes a generar", 1, 8, 1) if prompt_checkbox else 1
|
|
|
205 |
generated_image_path = st.session_state.get('generated_image_path')
|
206 |
prompt = st.sidebar.text_area("Descripción de la imagen", height=150, max_chars=500)
|
207 |
format_option = st.sidebar.selectbox("Formato", ["9:16", "16:9"])
|
208 |
+
model_option = st.sidebar.selectbox("Modelo", ["black-forest-labs/FLUX.1-schnell", "black-forest-labs/FLUX.1-dev"])
|
209 |
prompt_checkbox = st.sidebar.checkbox("Prompt Enhancer"), upscale_checkbox = st.sidebar.checkbox("Escalar imagen")
|
210 |
width, height = (360, 640) if format_option == "9:16" else (640, 360) if format_option == "16:9" else (640, 640)
|
211 |
num_variants = st.sidebar.slider("Número de imágenes a generar", 1, 8, 1) if prompt_checkbox else 1
|