Spaces:
Runtime error
Runtime error
dataautogpt3
commited on
Commit
β’
2a059e9
1
Parent(s):
edb5f27
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,7 @@ def generate(
|
|
64 |
seed: int = 0,
|
65 |
width: int = 1024,
|
66 |
height: int = 1024,
|
|
|
67 |
randomize_seed: bool = False,
|
68 |
progress=gr.Progress(track_tqdm=True),
|
69 |
):
|
@@ -78,6 +79,7 @@ def generate(
|
|
78 |
negative_prompt=f"{negative_prompt}",
|
79 |
width=width,
|
80 |
height=height,
|
|
|
81 |
num_inference_steps=50,
|
82 |
num_images_per_prompt=1,
|
83 |
output_type="pil",
|
|
|
64 |
seed: int = 0,
|
65 |
width: int = 1024,
|
66 |
height: int = 1024,
|
67 |
+
guidance_scale: float = 3,
|
68 |
randomize_seed: bool = False,
|
69 |
progress=gr.Progress(track_tqdm=True),
|
70 |
):
|
|
|
79 |
negative_prompt=f"{negative_prompt}",
|
80 |
width=width,
|
81 |
height=height,
|
82 |
+
guidance_scale=guidance_scale,
|
83 |
num_inference_steps=50,
|
84 |
num_images_per_prompt=1,
|
85 |
output_type="pil",
|