Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -162,6 +162,16 @@ with gr.Blocks() as demo:
|
|
162 |
with gr.Row():
|
163 |
image = gr.Image(label="Upload Image", type="filepath")
|
164 |
prompt = gr.Textbox(label="Input Prompt")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
size = gr.Slider(
|
166 |
label="Size",
|
167 |
minimum=256,
|
|
|
162 |
with gr.Row():
|
163 |
image = gr.Image(label="Upload Image", type="filepath")
|
164 |
prompt = gr.Textbox(label="Input Prompt")
|
165 |
+
run_button_1 = gr.Button("Run Segment 1", scale=0)
|
166 |
+
run_button_2 = gr.Button("Run Segment 2", scale=0)
|
167 |
+
run_button_3 = gr.Button("Run Segment 3", scale=0)
|
168 |
+
run_button_4 = gr.Button("Run Segment 4", scale=0)
|
169 |
+
run_button_5 = gr.Button("Run Segment 5", scale=0)
|
170 |
+
run_button_6 = gr.Button("Run Segment 6", scale=0)
|
171 |
+
run_button_7 = gr.Button("Run Segment 7", scale=0)
|
172 |
+
run_button_8 = gr.Button("Run Segment 8", scale=0)
|
173 |
+
result = gr.Gallery(label="Result", columns=1, show_label=False)
|
174 |
+
seed = gr.Number(value=1, label="Seed")
|
175 |
size = gr.Slider(
|
176 |
label="Size",
|
177 |
minimum=256,
|