gensym commited on
Commit
a085c25
·
1 Parent(s): c60c59d
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -169,19 +169,19 @@ with gr.Blocks() as demo:
169
  inp = gr.Textbox(placeholder="What is your name?")
170
  out = gr.Textbox()
171
 
172
- # image_prompt = gr.Image(label="Image Prompt", image_mode="RGBA", type="pil", height=300)
173
-
174
- # with gr.Accordion(label="Generation Settings", open=False):
175
- # seed = gr.Slider(0, MAX_SEED, label="Seed", value=0, step=1)
176
- # randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
177
- # gr.Markdown("Stage 1: Sparse Structure Generation")
178
- # with gr.Row():
179
- # ss_guidance_strength = gr.Slider(0.0, 10.0, label="Guidance Strength", value=7.5, step=0.1)
180
- # ss_sampling_steps = gr.Slider(1, 50, label="Sampling Steps", value=12, step=1)
181
- # gr.Markdown("Stage 2: Structured Latent Generation")
182
- # with gr.Row():
183
- # slat_guidance_strength = gr.Slider(0.0, 10.0, label="Guidance Strength", value=3.0, step=0.1)
184
- # slat_sampling_steps = gr.Slider(1, 50, label="Sampling Steps", value=12, step=1)
185
 
186
  # generate_btn = gr.Button("Generate")
187
 
 
169
  inp = gr.Textbox(placeholder="What is your name?")
170
  out = gr.Textbox()
171
 
172
+ image_prompt = gr.Image(label="Image Prompt", image_mode="RGBA", type="pil", height=300)
173
+
174
+ # with gr.Accordion(label="Generation Settings", open=False):
175
+ # seed = gr.Slider(0, MAX_SEED, label="Seed", value=0, step=1)
176
+ # randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
177
+ # gr.Markdown("Stage 1: Sparse Structure Generation")
178
+ # with gr.Row():
179
+ # ss_guidance_strength = gr.Slider(0.0, 10.0, label="Guidance Strength", value=7.5, step=0.1)
180
+ # ss_sampling_steps = gr.Slider(1, 50, label="Sampling Steps", value=12, step=1)
181
+ # gr.Markdown("Stage 2: Structured Latent Generation")
182
+ # with gr.Row():
183
+ # slat_guidance_strength = gr.Slider(0.0, 10.0, label="Guidance Strength", value=3.0, step=0.1)
184
+ # slat_sampling_steps = gr.Slider(1, 50, label="Sampling Steps", value=12, step=1)
185
 
186
  # generate_btn = gr.Button("Generate")
187