Spaces:
Runtime error
Runtime error
feat: Mejorar opciones avanzadas de refinamiento de imágenes en app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,6 @@ with gr.Blocks() as demo:
|
|
23 |
with gr.Column():
|
24 |
image = gr.Image(type="filepath")
|
25 |
with gr.Accordion("Advanced Options", open=False):
|
26 |
-
model = gr.Textbox(label="Model", default="stabilityai/stable-diffusion-xl-refiner-1.0")
|
27 |
prompt = gr.Textbox(lines=3, label="Prompt")
|
28 |
negative_prompt = gr.Textbox(lines=3, label="Negative Prompt")
|
29 |
strength = gr.Slider(
|
@@ -55,6 +54,7 @@ with gr.Blocks() as demo:
|
|
55 |
step=1,
|
56 |
value=-1
|
57 |
)
|
|
|
58 |
refine_btn = gr.Button("Refine")
|
59 |
with gr.Column():
|
60 |
output = ImageSlider(label="Before / After")
|
|
|
23 |
with gr.Column():
|
24 |
image = gr.Image(type="filepath")
|
25 |
with gr.Accordion("Advanced Options", open=False):
|
|
|
26 |
prompt = gr.Textbox(lines=3, label="Prompt")
|
27 |
negative_prompt = gr.Textbox(lines=3, label="Negative Prompt")
|
28 |
strength = gr.Slider(
|
|
|
54 |
step=1,
|
55 |
value=-1
|
56 |
)
|
57 |
+
model = gr.Textbox(label="Model", value="stabilityai/stable-diffusion-xl-refiner-1.0")
|
58 |
refine_btn = gr.Button("Refine")
|
59 |
with gr.Column():
|
60 |
output = ImageSlider(label="Before / After")
|