Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def infer(
|
|
54 |
examples = [
|
55 |
"Professional Photo <Astronaut in a jungle>",
|
56 |
"Cute anime Girl",
|
57 |
-
"A high tech solarpunk utopia in the Amazon rainforest
|
58 |
"An insect robot preparing a delicious meal",
|
59 |
"A delicious ceviche cheesecake slice",
|
60 |
"An astronaut riding a green horse",
|
@@ -126,7 +126,7 @@ with gr.Blocks(css=css) as demo:
|
|
126 |
minimum=0.0,
|
127 |
maximum=10.0,
|
128 |
step=0.1,
|
129 |
-
value=4.
|
130 |
)
|
131 |
|
132 |
num_inference_steps = gr.Slider(
|
@@ -134,7 +134,7 @@ with gr.Blocks(css=css) as demo:
|
|
134 |
minimum=1,
|
135 |
maximum=50,
|
136 |
step=1,
|
137 |
-
value=
|
138 |
)
|
139 |
|
140 |
gr.Examples(examples=examples, inputs=[prompt])
|
|
|
54 |
examples = [
|
55 |
"Professional Photo <Astronaut in a jungle>",
|
56 |
"Cute anime Girl",
|
57 |
+
"A high tech solarpunk utopia in the Amazon rainforest",
|
58 |
"An insect robot preparing a delicious meal",
|
59 |
"A delicious ceviche cheesecake slice",
|
60 |
"An astronaut riding a green horse",
|
|
|
126 |
minimum=0.0,
|
127 |
maximum=10.0,
|
128 |
step=0.1,
|
129 |
+
value=4.5, # Replace with defaults that work for your model
|
130 |
)
|
131 |
|
132 |
num_inference_steps = gr.Slider(
|
|
|
134 |
minimum=1,
|
135 |
maximum=50,
|
136 |
step=1,
|
137 |
+
value=24, # Replace with defaults that work for your model
|
138 |
)
|
139 |
|
140 |
gr.Examples(examples=examples, inputs=[prompt])
|