Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,11 +47,11 @@ def generate(
|
|
| 47 |
prompt: str,
|
| 48 |
negative_prompt: str = "",
|
| 49 |
use_negative_prompt: bool = False,
|
| 50 |
-
seed: int =
|
| 51 |
width: int = 1024,
|
| 52 |
height: int = 1024,
|
| 53 |
guidance_scale: float = 3,
|
| 54 |
-
num_inference_steps: int =
|
| 55 |
randomize_seed: bool = False,
|
| 56 |
use_resolution_binning: bool = True,
|
| 57 |
progress=gr.Progress(track_tqdm=True),
|
|
@@ -82,10 +82,10 @@ def generate(
|
|
| 82 |
examples = [
|
| 83 |
"a cat eating a piece of cheese",
|
| 84 |
"a ROBOT riding a BLUE horse on Mars, photorealistic",
|
| 85 |
-
"a cartoon of a IRONMAN fighting
|
| 86 |
"a cute robot artist painting on an easel, concept art",
|
| 87 |
"Astronaut in a jungle, cold color palette, oil pastel, detailed, 8k",
|
| 88 |
-
"An alien
|
| 89 |
"Kids going to school, Anime style"
|
| 90 |
]
|
| 91 |
|
|
|
|
| 47 |
prompt: str,
|
| 48 |
negative_prompt: str = "",
|
| 49 |
use_negative_prompt: bool = False,
|
| 50 |
+
seed: int = 1,
|
| 51 |
width: int = 1024,
|
| 52 |
height: int = 1024,
|
| 53 |
guidance_scale: float = 3,
|
| 54 |
+
num_inference_steps: int = 30,
|
| 55 |
randomize_seed: bool = False,
|
| 56 |
use_resolution_binning: bool = True,
|
| 57 |
progress=gr.Progress(track_tqdm=True),
|
|
|
|
| 82 |
examples = [
|
| 83 |
"a cat eating a piece of cheese",
|
| 84 |
"a ROBOT riding a BLUE horse on Mars, photorealistic",
|
| 85 |
+
"a cartoon of a IRONMAN fighting HULK",
|
| 86 |
"a cute robot artist painting on an easel, concept art",
|
| 87 |
"Astronaut in a jungle, cold color palette, oil pastel, detailed, 8k",
|
| 88 |
+
"An alien holding sign board contain word 'Flash', futuristic, neonpunk",
|
| 89 |
"Kids going to school, Anime style"
|
| 90 |
]
|
| 91 |
|