Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,14 +24,14 @@ MAX_IMAGE_SIZE = 1024
|
|
| 24 |
# @spaces.GPU #[uncomment to use ZeroGPU]
|
| 25 |
def infer(
|
| 26 |
model_id: Optional[str] = "CompVis/stable-diffusion-v1-4",
|
| 27 |
-
prompt: str,
|
| 28 |
negative_prompt=gr.Text('cat, dog'),
|
| 29 |
-
|
|
|
|
| 30 |
randomize_seed,
|
| 31 |
width,
|
| 32 |
height,
|
| 33 |
-
guidance_scale
|
| 34 |
-
num_inference_steps
|
| 35 |
progress=gr.Progress(track_tqdm=True),
|
| 36 |
):
|
| 37 |
if randomize_seed:
|
|
|
|
| 24 |
# @spaces.GPU #[uncomment to use ZeroGPU]
|
| 25 |
def infer(
|
| 26 |
model_id: Optional[str] = "CompVis/stable-diffusion-v1-4",
|
|
|
|
| 27 |
negative_prompt=gr.Text('cat, dog'),
|
| 28 |
+
prompt: str,
|
| 29 |
+
seed,
|
| 30 |
randomize_seed,
|
| 31 |
width,
|
| 32 |
height,
|
| 33 |
+
guidance_scale,
|
| 34 |
+
num_inference_steps,
|
| 35 |
progress=gr.Progress(track_tqdm=True),
|
| 36 |
):
|
| 37 |
if randomize_seed:
|