Spaces:
Runtime error
Runtime error
dataautogpt3
commited on
Commit
β’
1103a2c
1
Parent(s):
2a059e9
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def generate(
|
|
64 |
seed: int = 0,
|
65 |
width: int = 1024,
|
66 |
height: int = 1024,
|
67 |
-
guidance_scale: float =
|
68 |
randomize_seed: bool = False,
|
69 |
progress=gr.Progress(track_tqdm=True),
|
70 |
):
|
@@ -76,7 +76,7 @@ def generate(
|
|
76 |
negative_prompt = "" # type: ignore
|
77 |
images = pipe(
|
78 |
prompt=f'''{prompt}''',
|
79 |
-
negative_prompt=f"{negative_prompt}",
|
80 |
width=width,
|
81 |
height=height,
|
82 |
guidance_scale=guidance_scale,
|
|
|
64 |
seed: int = 0,
|
65 |
width: int = 1024,
|
66 |
height: int = 1024,
|
67 |
+
guidance_scale: float = 7,
|
68 |
randomize_seed: bool = False,
|
69 |
progress=gr.Progress(track_tqdm=True),
|
70 |
):
|
|
|
76 |
negative_prompt = "" # type: ignore
|
77 |
images = pipe(
|
78 |
prompt=f'''{prompt}''',
|
79 |
+
negative_prompt=f"{negative_prompt}, worst",
|
80 |
width=width,
|
81 |
height=height,
|
82 |
guidance_scale=guidance_scale,
|