Spaces:
Running
Running
salomonsky
commited on
Commit
•
e80b447
1
Parent(s):
ed6abe6
Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ async def main():
|
|
206 |
st.header("Generador de Imágenes")
|
207 |
prompt = st.sidebar.text_area("Descripción de la imagen", height=150, max_chars=500)
|
208 |
format_option = st.sidebar.selectbox("Formato", ["9:16", "16:9"])
|
209 |
-
model_option = st.sidebar.selectbox("Modelo", ["black-forest-labs/FLUX.1-schnell", "black-forest-labs/FLUX.1-dev"])
|
210 |
prompt_checkbox = st.sidebar.checkbox("Prompt Enhancer")
|
211 |
upscale_checkbox = st.sidebar.checkbox("Escalar imagen")
|
212 |
width, height = (360, 640) if format_option == "9:16" else (640, 360) if format_option == "16:9" else (640, 640)
|
|
|
206 |
st.header("Generador de Imágenes")
|
207 |
prompt = st.sidebar.text_area("Descripción de la imagen", height=150, max_chars=500)
|
208 |
format_option = st.sidebar.selectbox("Formato", ["9:16", "16:9"])
|
209 |
+
model_option = st.sidebar.selectbox("Modelo", ["ostris/OpenFLUX.1", "black-forest-labs/FLUX.1-schnell", "black-forest-labs/FLUX.1-dev"])
|
210 |
prompt_checkbox = st.sidebar.checkbox("Prompt Enhancer")
|
211 |
upscale_checkbox = st.sidebar.checkbox("Escalar imagen")
|
212 |
width, height = (360, 640) if format_option == "9:16" else (640, 360) if format_option == "16:9" else (640, 640)
|