Spaces:
Sleeping
Sleeping
fix gr
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ with gr.Blocks(css=css) as demo:
|
|
104 |
|
105 |
width = gr.Slider(
|
106 |
label="Width",
|
107 |
-
minimum=
|
108 |
maximum=MAX_IMAGE_SIZE,
|
109 |
step=32,
|
110 |
value=512,
|
@@ -112,7 +112,7 @@ with gr.Blocks(css=css) as demo:
|
|
112 |
|
113 |
height = gr.Slider(
|
114 |
label="Height",
|
115 |
-
minimum=
|
116 |
maximum=MAX_IMAGE_SIZE,
|
117 |
step=32,
|
118 |
value=512,
|
@@ -125,15 +125,15 @@ with gr.Blocks(css=css) as demo:
|
|
125 |
minimum=0.0,
|
126 |
maximum=10.0,
|
127 |
step=0.1,
|
128 |
-
value=
|
129 |
)
|
130 |
|
131 |
num_inference_steps = gr.Slider(
|
132 |
label="Number of inference steps",
|
133 |
minimum=1,
|
134 |
-
maximum=
|
135 |
step=1,
|
136 |
-
value=
|
137 |
)
|
138 |
|
139 |
gr.Examples(
|
|
|
104 |
|
105 |
width = gr.Slider(
|
106 |
label="Width",
|
107 |
+
minimum=540,
|
108 |
maximum=MAX_IMAGE_SIZE,
|
109 |
step=32,
|
110 |
value=512,
|
|
|
112 |
|
113 |
height = gr.Slider(
|
114 |
label="Height",
|
115 |
+
minimum=540,
|
116 |
maximum=MAX_IMAGE_SIZE,
|
117 |
step=32,
|
118 |
value=512,
|
|
|
125 |
minimum=0.0,
|
126 |
maximum=10.0,
|
127 |
step=0.1,
|
128 |
+
value=7.5,
|
129 |
)
|
130 |
|
131 |
num_inference_steps = gr.Slider(
|
132 |
label="Number of inference steps",
|
133 |
minimum=1,
|
134 |
+
maximum=40,
|
135 |
step=1,
|
136 |
+
value=30,
|
137 |
)
|
138 |
|
139 |
gr.Examples(
|