Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def infer(
|
|
104 |
return pipe(**params).images[0]
|
105 |
|
106 |
examples = [
|
107 |
-
"Young man in anime style. The image is of high sharpness and resolution. A handsome, thoughtful man. The man is depicted in the foreground, close-up or middle plan. The background is blurry, not sharp. The play of light and shadow is visible on the face and clothes."
|
108 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k.",
|
109 |
"An astronaut riding a green horse.",
|
110 |
"A delicious ceviche cheesecake slice.",
|
@@ -200,7 +200,7 @@ with gr.Blocks(css=css) as demo:
|
|
200 |
num_inference_steps = gr.Slider(
|
201 |
label="Number of inference steps",
|
202 |
minimum=1,
|
203 |
-
maximum=
|
204 |
step=1,
|
205 |
value=30,
|
206 |
)
|
|
|
104 |
return pipe(**params).images[0]
|
105 |
|
106 |
examples = [
|
107 |
+
"Young man in anime style. The image is of high sharpness and resolution. A handsome, thoughtful man. The man is depicted in the foreground, close-up or middle plan. The background is blurry, not sharp. The play of light and shadow is visible on the face and clothes.",
|
108 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k.",
|
109 |
"An astronaut riding a green horse.",
|
110 |
"A delicious ceviche cheesecake slice.",
|
|
|
200 |
num_inference_steps = gr.Slider(
|
201 |
label="Number of inference steps",
|
202 |
minimum=1,
|
203 |
+
maximum=100,
|
204 |
step=1,
|
205 |
value=30,
|
206 |
)
|