Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
·
096ac3e
1
Parent(s):
e5a71e9
Update app.py
Browse files
app.py
CHANGED
@@ -253,7 +253,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
253 |
|
254 |
with gr.Accordion("Advanced Options", open=False):
|
255 |
with gr.Tabs() as tabs:
|
256 |
-
with gr.TabItem('General options'
|
257 |
with gr.Row():
|
258 |
with gr.Column(min_width=100):
|
259 |
seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)
|
@@ -262,8 +262,6 @@ with gr.Blocks(css="style.css") as demo:
|
|
262 |
value=7.5, step=0.5, interactive=True)
|
263 |
steps = gr.Slider(label='Inversion steps', minimum=100, maximum=500,
|
264 |
value=500, step=1, interactive=True)
|
265 |
-
n_timesteps = gr.Slider(label='Diffusion steps', minimum=25, maximum=100,
|
266 |
-
value=50, step=1, interactive=True)
|
267 |
|
268 |
with gr.Column(min_width=100):
|
269 |
inversion_prompt = gr.Textbox(lines=1, label="Inversion prompt", interactive=True, placeholder="")
|
@@ -271,9 +269,12 @@ with gr.Blocks(css="style.css") as demo:
|
|
271 |
value=8, step=1, interactive=True)
|
272 |
n_frames = gr.Slider(label='Num frames', minimum=20, maximum=200,
|
273 |
value=40, step=1, interactive=True)
|
274 |
-
|
|
|
|
|
|
|
275 |
value=0.5, step=0.5, interactive=True)
|
276 |
-
|
277 |
value=0.8, step=0.05, interactive=True)
|
278 |
|
279 |
|
|
|
253 |
|
254 |
with gr.Accordion("Advanced Options", open=False):
|
255 |
with gr.Tabs() as tabs:
|
256 |
+
with gr.TabItem('General options'):
|
257 |
with gr.Row():
|
258 |
with gr.Column(min_width=100):
|
259 |
seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)
|
|
|
262 |
value=7.5, step=0.5, interactive=True)
|
263 |
steps = gr.Slider(label='Inversion steps', minimum=100, maximum=500,
|
264 |
value=500, step=1, interactive=True)
|
|
|
|
|
265 |
|
266 |
with gr.Column(min_width=100):
|
267 |
inversion_prompt = gr.Textbox(lines=1, label="Inversion prompt", interactive=True, placeholder="")
|
|
|
269 |
value=8, step=1, interactive=True)
|
270 |
n_frames = gr.Slider(label='Num frames', minimum=20, maximum=200,
|
271 |
value=40, step=1, interactive=True)
|
272 |
+
|
273 |
+
with gr.TabItem('Plug-and-Plat Parameters'):
|
274 |
+
with gr.Column(min_width=100):
|
275 |
+
pnp_attn_t = gr.Slider(label='pnp attention threshold', minimum=0, maximum=1,
|
276 |
value=0.5, step=0.5, interactive=True)
|
277 |
+
pnp_f_t = gr.Slider(label='pnp feature threshold', minimum=0, maximum=1,
|
278 |
value=0.8, step=0.05, interactive=True)
|
279 |
|
280 |
|