Spaces:
Paused
Paused
Commit
·
a50d673
1
Parent(s):
d2b2041
Update UI
Browse files
app.py
CHANGED
@@ -186,14 +186,14 @@ def run_demo():
|
|
186 |
fig1 = gr.Image(value=Image.open('assets/azimuth.jpg'), type='pil', image_mode='RGB', height=256, show_label=False, tool=None, interactive=False)
|
187 |
|
188 |
with gr.Column(scale=0.8):
|
189 |
-
input_block = gr.Image(type='pil', image_mode='RGBA', label="Input to SyncDreamer", height=256, interactive=False)
|
190 |
azimuth.render()
|
191 |
with gr.Accordion('Advanced options', open=False):
|
192 |
seed = gr.Number(6033, label='Random seed', interactive=True)
|
193 |
run_btn = gr.Button('Run generation', variant='primary', interactive=True)
|
194 |
|
195 |
|
196 |
-
output_block = gr.Image(type='pil', image_mode='RGB', label="Outputs of SyncDreamer", height=256, interactive=False)
|
197 |
|
198 |
def update_guide2(text, im):
|
199 |
if im is None:
|
|
|
186 |
fig1 = gr.Image(value=Image.open('assets/azimuth.jpg'), type='pil', image_mode='RGB', height=256, show_label=False, tool=None, interactive=False)
|
187 |
|
188 |
with gr.Column(scale=0.8):
|
189 |
+
input_block = gr.Image(type='pil', image_mode='RGBA', label="Input to ControlNet + SyncDreamer", height=256, interactive=False)
|
190 |
azimuth.render()
|
191 |
with gr.Accordion('Advanced options', open=False):
|
192 |
seed = gr.Number(6033, label='Random seed', interactive=True)
|
193 |
run_btn = gr.Button('Run generation', variant='primary', interactive=True)
|
194 |
|
195 |
|
196 |
+
output_block = gr.Image(type='pil', image_mode='RGB', label="Outputs of ControlNet + SyncDreamer", height=256, interactive=False)
|
197 |
|
198 |
def update_guide2(text, im):
|
199 |
if im is None:
|