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