Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,23 +12,12 @@ examples = [
|
|
| 12 |
["d3xt3r dachshund in a suit and tie"],
|
| 13 |
]
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
gr.Slider(label="Seed", minimum=0, maximum=10000, step=1, value=42),
|
| 22 |
-
gr.Slider(label="Width", minimum=64, maximum=1024, step=64, value=512),
|
| 23 |
-
gr.Slider(label="Height", minimum=64, maximum=1024, step=64, value=512),
|
| 24 |
-
gr.Slider(label="Guidance Scale", minimum=0.0, maximum=10.0, step=0.1, value=3.5),
|
| 25 |
-
gr.Slider(label="Number of Inference Steps", minimum=1, maximum=100, step=1, value=20)
|
| 26 |
-
],
|
| 27 |
-
outputs="image",
|
| 28 |
-
examples=examples,
|
| 29 |
-
title="D3XT3R Dachshund Image Generator",
|
| 30 |
-
description="Generate images of D3XT3R the Dachshund with various prompts.",
|
| 31 |
-
)
|
| 32 |
|
| 33 |
# Add GPUZero functionality
|
| 34 |
demo.queue()
|
|
|
|
| 12 |
["d3xt3r dachshund in a suit and tie"],
|
| 13 |
]
|
| 14 |
|
| 15 |
+
demo = gr.load("models/GenAIJake/d3xt3r")
|
| 16 |
+
|
| 17 |
+
# Customize the interface
|
| 18 |
+
with demo:
|
| 19 |
+
gr.Markdown("# D3XT3R Dachshund Image Generator")
|
| 20 |
+
gr.Examples(examples, inputs=demo.input_components)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
# Add GPUZero functionality
|
| 23 |
demo.queue()
|