Commit ·
a3321db
1
Parent(s): d4ef5bd
Update app_scribble.py
Browse files- app_scribble.py +3 -3
app_scribble.py
CHANGED
|
@@ -22,14 +22,14 @@ def create_demo(process):
|
|
| 22 |
with gr.Accordion('Advanced options', open=False, visible=False):
|
| 23 |
num_samples = gr.Slider(label='Number of images',
|
| 24 |
minimum=1,
|
| 25 |
-
maximum=
|
| 26 |
-
value=
|
| 27 |
step=1)
|
| 28 |
image_resolution = gr.Slider(
|
| 29 |
label='Image resolution',
|
| 30 |
minimum=256,
|
| 31 |
maximum=MAX_IMAGE_RESOLUTION,
|
| 32 |
-
value=
|
| 33 |
step=256)
|
| 34 |
preprocess_resolution = gr.Slider(
|
| 35 |
label='Preprocess resolution',
|
|
|
|
| 22 |
with gr.Accordion('Advanced options', open=False, visible=False):
|
| 23 |
num_samples = gr.Slider(label='Number of images',
|
| 24 |
minimum=1,
|
| 25 |
+
maximum=4,
|
| 26 |
+
value=4,
|
| 27 |
step=1)
|
| 28 |
image_resolution = gr.Slider(
|
| 29 |
label='Image resolution',
|
| 30 |
minimum=256,
|
| 31 |
maximum=MAX_IMAGE_RESOLUTION,
|
| 32 |
+
value=512,
|
| 33 |
step=256)
|
| 34 |
preprocess_resolution = gr.Slider(
|
| 35 |
label='Preprocess resolution',
|