Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ apply_hidiffusion(pipe)
|
|
17 |
|
18 |
@spaces.GPU
|
19 |
def run_hidiffusion(prompt, negative_prompt, progress=gr.Progress(track_tqdm=True)):
|
20 |
-
return pipe(prompt, guidance_scale=7.5, height=
|
21 |
|
22 |
with gr.Blocks() as demo:
|
23 |
prompt = gr.Textbox()
|
|
|
17 |
|
18 |
@spaces.GPU
|
19 |
def run_hidiffusion(prompt, negative_prompt, progress=gr.Progress(track_tqdm=True)):
|
20 |
+
return pipe(prompt, guidance_scale=7.5, height=4096, width=4096, eta=1.0, negative_prompt=negative_prompt, num_inference_steps=25).images[0]
|
21 |
|
22 |
with gr.Blocks() as demo:
|
23 |
prompt = gr.Textbox()
|