Spaces:
Sleeping
Sleeping
Anonymous
commited on
Commit
·
3a2303c
1
Parent(s):
6d9f96d
fix app
Browse files
app.py
CHANGED
|
@@ -148,8 +148,9 @@ def infer(prompt, output_size, seed, num_frames, ddim_steps, unconditional_guida
|
|
| 148 |
|
| 149 |
examples = [
|
| 150 |
["A chihuahua in astronaut suit floating in space, cinematic lighting, glow effect",],
|
| 151 |
-
["Campfire at night in a snowy forest with starry sky in the background",],
|
| 152 |
["A corgi is swimming quickly",],
|
|
|
|
|
|
|
| 153 |
["A panda is surfing in the universe",],
|
| 154 |
]
|
| 155 |
|
|
@@ -252,12 +253,12 @@ with gr.Blocks(css=css) as demo:
|
|
| 252 |
with gr.Row():
|
| 253 |
with gr.Accordion('FreeNoise Parameters (feel free to adjust these parameters based on your prompt): ', open=False):
|
| 254 |
with gr.Row():
|
| 255 |
-
output_size = gr.Dropdown(["576x1024"], value="576x1024", label="Output Size (around
|
| 256 |
# output_size = gr.Dropdown(["576x1024", "256x256"], value="576x1024", label="Output Size", info="576x1024 is watermark-free")
|
| 257 |
with gr.Row():
|
| 258 |
num_frames = gr.Slider(label='Frames (a multiple of 4)',
|
| 259 |
minimum=16,
|
| 260 |
-
maximum=
|
| 261 |
step=4,
|
| 262 |
value=32)
|
| 263 |
ddim_steps = gr.Slider(label='DDIM Steps',
|
|
|
|
| 148 |
|
| 149 |
examples = [
|
| 150 |
["A chihuahua in astronaut suit floating in space, cinematic lighting, glow effect",],
|
|
|
|
| 151 |
["A corgi is swimming quickly",],
|
| 152 |
+
["A bigfoot walking in the snowstorm",],
|
| 153 |
+
["Campfire at night in a snowy forest with starry sky in the background",],
|
| 154 |
["A panda is surfing in the universe",],
|
| 155 |
]
|
| 156 |
|
|
|
|
| 253 |
with gr.Row():
|
| 254 |
with gr.Accordion('FreeNoise Parameters (feel free to adjust these parameters based on your prompt): ', open=False):
|
| 255 |
with gr.Row():
|
| 256 |
+
output_size = gr.Dropdown(["576x1024"], value="576x1024", label="Output Size (around 900s for 576x1024)")
|
| 257 |
# output_size = gr.Dropdown(["576x1024", "256x256"], value="576x1024", label="Output Size", info="576x1024 is watermark-free")
|
| 258 |
with gr.Row():
|
| 259 |
num_frames = gr.Slider(label='Frames (a multiple of 4)',
|
| 260 |
minimum=16,
|
| 261 |
+
maximum=48,
|
| 262 |
step=4,
|
| 263 |
value=32)
|
| 264 |
ddim_steps = gr.Slider(label='DDIM Steps',
|