Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,6 @@ def infer(
|
|
29 |
randomize_seed,
|
30 |
width,
|
31 |
height,
|
32 |
-
num_inference_steps,
|
33 |
progress=gr.Progress(track_tqdm=True),
|
34 |
):
|
35 |
if randomize_seed:
|
@@ -40,7 +39,6 @@ def infer(
|
|
40 |
image = pipe(
|
41 |
prompt=prompt,
|
42 |
negative_prompt=negative_prompt,
|
43 |
-
num_inference_steps=num_inference_steps,
|
44 |
width=width,
|
45 |
height=height,
|
46 |
generator=generator,
|
@@ -125,7 +123,6 @@ with gr.Blocks(css=css) as demo:
|
|
125 |
randomize_seed,
|
126 |
width,
|
127 |
height,
|
128 |
-
num_inference_steps,
|
129 |
],
|
130 |
outputs=[result, seed],
|
131 |
)
|
|
|
29 |
randomize_seed,
|
30 |
width,
|
31 |
height,
|
|
|
32 |
progress=gr.Progress(track_tqdm=True),
|
33 |
):
|
34 |
if randomize_seed:
|
|
|
39 |
image = pipe(
|
40 |
prompt=prompt,
|
41 |
negative_prompt=negative_prompt,
|
|
|
42 |
width=width,
|
43 |
height=height,
|
44 |
generator=generator,
|
|
|
123 |
randomize_seed,
|
124 |
width,
|
125 |
height,
|
|
|
126 |
],
|
127 |
outputs=[result, seed],
|
128 |
)
|