Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -314,8 +314,8 @@ with gr.Blocks(css=css) as demo:
|
|
314 |
</p>
|
315 |
<p>
|
316 |
<b>Runtimes:</b> <br>
|
317 |
-
1. 30s on A10G
|
318 |
-
2. 90s on T4
|
319 |
</p>
|
320 |
<p>
|
321 |
{colab_instruction}
|
@@ -348,7 +348,7 @@ with gr.Blocks(css=css) as demo:
|
|
348 |
with gr.Row():
|
349 |
strength = gr.Slider(label="Strength", value=0.7, minimum=0.5, maximum=1, step=0.01)
|
350 |
with gr.Row():
|
351 |
-
generate1 = gr.Button(value="
|
352 |
|
353 |
with gr.Tab("CAC options"):
|
354 |
with gr.Group():
|
@@ -359,7 +359,7 @@ with gr.Blocks(css=css) as demo:
|
|
359 |
cross_replace_steps = gr.Slider(label="Cross replace steps", value=0.8, minimum=0.0, maximum=1, step=0.01)
|
360 |
self_replace_steps = gr.Slider(label="Self replace steps", value=0.4, minimum=0.0, maximum=1, step=0.01)
|
361 |
with gr.Row():
|
362 |
-
generate2 = gr.Button(value="
|
363 |
|
364 |
with gr.Tab("Other options"):
|
365 |
with gr.Group():
|
@@ -371,7 +371,7 @@ with gr.Blocks(css=css) as demo:
|
|
371 |
with gr.Row():
|
372 |
seed = gr.Slider(0, 2147483647, label='Seed', value=0, step=1)
|
373 |
with gr.Row():
|
374 |
-
generate3 = gr.Button(value="
|
375 |
|
376 |
inputs = [source_prompt, target_prompt, source_guidance_scale, guidance_scale, num_inference_steps,
|
377 |
width, height, seed, img, strength,
|
|
|
314 |
</p>
|
315 |
<p>
|
316 |
<b>Runtimes:</b> <br>
|
317 |
+
1. 30s on A10G. <br>
|
318 |
+
2. 90s on T4. <br>
|
319 |
</p>
|
320 |
<p>
|
321 |
{colab_instruction}
|
|
|
348 |
with gr.Row():
|
349 |
strength = gr.Slider(label="Strength", value=0.7, minimum=0.5, maximum=1, step=0.01)
|
350 |
with gr.Row():
|
351 |
+
generate1 = gr.Button(value="Run CycleDiffusion")
|
352 |
|
353 |
with gr.Tab("CAC options"):
|
354 |
with gr.Group():
|
|
|
359 |
cross_replace_steps = gr.Slider(label="Cross replace steps", value=0.8, minimum=0.0, maximum=1, step=0.01)
|
360 |
self_replace_steps = gr.Slider(label="Self replace steps", value=0.4, minimum=0.0, maximum=1, step=0.01)
|
361 |
with gr.Row():
|
362 |
+
generate2 = gr.Button(value="Run CycleDiffusion")
|
363 |
|
364 |
with gr.Tab("Other options"):
|
365 |
with gr.Group():
|
|
|
371 |
with gr.Row():
|
372 |
seed = gr.Slider(0, 2147483647, label='Seed', value=0, step=1)
|
373 |
with gr.Row():
|
374 |
+
generate3 = gr.Button(value="Run CycleDiffusion")
|
375 |
|
376 |
inputs = [source_prompt, target_prompt, source_guidance_scale, guidance_scale, num_inference_steps,
|
377 |
width, height, seed, img, strength,
|