Spaces:
Sleeping
Sleeping
BlockDetail
commited on
Commit
•
2a7bcc1
1
Parent(s):
64932c8
env
Browse files
app.py
CHANGED
@@ -42,13 +42,13 @@ with gr.Blocks() as demo:
|
|
42 |
with gr.Column():
|
43 |
num_samples = gr.Slider(1, 5, value=2, step=1, label="Num Samples to Generate"),
|
44 |
with gr.Tab("Renoised Images"):
|
45 |
-
gallery0 = gr.Gallery(show_label=False, columns=[num_samples[0].value], rows=[2], object_fit="contain", height="auto", preview=True, interactive=False, width=512
|
46 |
with gr.Tab("Renoised Overlay"):
|
47 |
-
gallery1 = gr.Gallery(show_label=False, columns=[num_samples[0].value], rows=[2], object_fit="contain", height="auto", preview=True, interactive=False, width=512
|
48 |
with gr.Tab("Pre-Renoise Images"):
|
49 |
-
gallery2 = gr.Gallery(show_label=False, columns=[num_samples[0].value], rows=[2], object_fit="contain", height="auto", preview=True, interactive=False, width=512
|
50 |
with gr.Tab("Pre-Renoise Overlay"):
|
51 |
-
gallery3 = gr.Gallery(show_label=False, columns=[num_samples[0].value], rows=[2], object_fit="contain", height="auto", preview=True, interactive=False, width=512
|
52 |
for k in range(num_images):
|
53 |
start_state.append([None, None])
|
54 |
sketch_states = gr.State(start_state)
|
|
|
42 |
with gr.Column():
|
43 |
num_samples = gr.Slider(1, 5, value=2, step=1, label="Num Samples to Generate"),
|
44 |
with gr.Tab("Renoised Images"):
|
45 |
+
gallery0 = gr.Gallery(show_label=False, columns=[num_samples[0].value], rows=[2], object_fit="contain", height="auto", preview=True, interactive=False, width=512)
|
46 |
with gr.Tab("Renoised Overlay"):
|
47 |
+
gallery1 = gr.Gallery(show_label=False, columns=[num_samples[0].value], rows=[2], object_fit="contain", height="auto", preview=True, interactive=False, width=512)
|
48 |
with gr.Tab("Pre-Renoise Images"):
|
49 |
+
gallery2 = gr.Gallery(show_label=False, columns=[num_samples[0].value], rows=[2], object_fit="contain", height="auto", preview=True, interactive=False, width=512)
|
50 |
with gr.Tab("Pre-Renoise Overlay"):
|
51 |
+
gallery3 = gr.Gallery(show_label=False, columns=[num_samples[0].value], rows=[2], object_fit="contain", height="auto", preview=True, interactive=False, width=512)
|
52 |
for k in range(num_images):
|
53 |
start_state.append([None, None])
|
54 |
sketch_states = gr.State(start_state)
|