Spaces:
Running
Running
salomonsky
commited on
Commit
•
599e239
1
Parent(s):
4533b44
Update app.py
Browse files
app.py
CHANGED
@@ -65,9 +65,9 @@ st.title("Flux Image to Image")
|
|
65 |
with st.sidebar:
|
66 |
uploaded_image = st.file_uploader("Sube una imagen", type=["png", "jpg", "jpeg"], key="unique_file_uploader")
|
67 |
prompt = st.text_input("Texto del prompt (máx. 77 tokens)")
|
68 |
-
steps = st.slider("Número de Iteraciones", min_value=1, max_value=50, value=
|
69 |
randomize_seed = st.radio("Randomize Seed", ["Randomize Seed", "Fix Seed"])
|
70 |
-
seed = st.slider("Seed", min_value=0, max_value=9999, step=1, value=random.randint(0, 9999) if randomize_seed == "Randomize Seed" else
|
71 |
guidance_scale = st.slider("Guidance Scale", min_value=0.0, max_value=10.0, step=0.01, value=9.0)
|
72 |
|
73 |
if uploaded_image is not None and st.button("Generar imagen"):
|
|
|
65 |
with st.sidebar:
|
66 |
uploaded_image = st.file_uploader("Sube una imagen", type=["png", "jpg", "jpeg"], key="unique_file_uploader")
|
67 |
prompt = st.text_input("Texto del prompt (máx. 77 tokens)")
|
68 |
+
steps = st.slider("Número de Iteraciones", min_value=1, max_value=50, value=2, step=1)
|
69 |
randomize_seed = st.radio("Randomize Seed", ["Randomize Seed", "Fix Seed"])
|
70 |
+
seed = st.slider("Seed", min_value=0, max_value=9999, step=1, value=random.randint(0, 9999) if randomize_seed == "Randomize Seed" else 1)
|
71 |
guidance_scale = st.slider("Guidance Scale", min_value=0.0, max_value=10.0, step=0.01, value=9.0)
|
72 |
|
73 |
if uploaded_image is not None and st.button("Generar imagen"):
|