Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ def stable_diffusion_zoom_out(
|
|
| 73 |
|
| 74 |
inputs = [
|
| 75 |
gr.Dropdown(choices=best_model_list,default="stabilityai/stable-diffusion-2-inpainting", label="Model"),
|
| 76 |
-
gr.inputs.Textbox(lines=
|
| 77 |
gr.inputs.Textbox(lines=1, default=orig_negative_prompt, label="Negative Prompt"),
|
| 78 |
gr.inputs.Slider(minimum=1, maximum=64, default=32, label="Steps"),
|
| 79 |
gr.inputs.Slider(minimum=1, maximum=500, default=10, step=10, label="Frames"),
|
|
@@ -95,5 +95,7 @@ demo_app = gr.Interface(
|
|
| 95 |
outputs=output,
|
| 96 |
title=title,
|
| 97 |
theme='huggingface',
|
|
|
|
|
|
|
| 98 |
)
|
| 99 |
demo_app.launch(debug=True, enable_queue=True)
|
|
|
|
| 73 |
|
| 74 |
inputs = [
|
| 75 |
gr.Dropdown(choices=best_model_list,default="stabilityai/stable-diffusion-2-inpainting", label="Model"),
|
| 76 |
+
gr.inputs.Textbox(lines=5, default=orig_prompt, label="Prompt"),
|
| 77 |
gr.inputs.Textbox(lines=1, default=orig_negative_prompt, label="Negative Prompt"),
|
| 78 |
gr.inputs.Slider(minimum=1, maximum=64, default=32, label="Steps"),
|
| 79 |
gr.inputs.Slider(minimum=1, maximum=500, default=10, step=10, label="Frames"),
|
|
|
|
| 95 |
outputs=output,
|
| 96 |
title=title,
|
| 97 |
theme='huggingface',
|
| 98 |
+
examples=examples,
|
| 99 |
+
cache_examples=True
|
| 100 |
)
|
| 101 |
demo_app.launch(debug=True, enable_queue=True)
|