Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,11 +50,11 @@ def generate(
|
|
| 50 |
prompt: str,
|
| 51 |
negative_prompt: str = "",
|
| 52 |
use_negative_prompt: bool = False,
|
| 53 |
-
seed: int =
|
| 54 |
width: int = 1024,
|
| 55 |
height: int = 1024,
|
| 56 |
guidance_scale: float = 3,
|
| 57 |
-
num_inference_steps: int =
|
| 58 |
randomize_seed: bool = False,
|
| 59 |
use_resolution_binning: bool = True,
|
| 60 |
progress=gr.Progress(track_tqdm=True),
|
|
@@ -88,7 +88,7 @@ examples = [
|
|
| 88 |
"a cartoon of a IRONMAN fighting with HULK, wall painting",
|
| 89 |
"a cute robot artist painting on an easel, concept art",
|
| 90 |
"Astronaut in a jungle, cold color palette, oil pastel, detailed, 8k",
|
| 91 |
-
"An alien grasping a sign board contain word 'Flash',
|
| 92 |
"Kids going to school, Anime style"
|
| 93 |
]
|
| 94 |
|
|
|
|
| 50 |
prompt: str,
|
| 51 |
negative_prompt: str = "",
|
| 52 |
use_negative_prompt: bool = False,
|
| 53 |
+
seed: int = 0,
|
| 54 |
width: int = 1024,
|
| 55 |
height: int = 1024,
|
| 56 |
guidance_scale: float = 3,
|
| 57 |
+
num_inference_steps: int = 25,
|
| 58 |
randomize_seed: bool = False,
|
| 59 |
use_resolution_binning: bool = True,
|
| 60 |
progress=gr.Progress(track_tqdm=True),
|
|
|
|
| 88 |
"a cartoon of a IRONMAN fighting with HULK, wall painting",
|
| 89 |
"a cute robot artist painting on an easel, concept art",
|
| 90 |
"Astronaut in a jungle, cold color palette, oil pastel, detailed, 8k",
|
| 91 |
+
"An alien grasping a sign board contain word 'Flash', futuristic, neonpunk, detailed",
|
| 92 |
"Kids going to school, Anime style"
|
| 93 |
]
|
| 94 |
|