Spaces:
Sleeping
Sleeping
Update app.py
Browse filesThe negative_prompt parameter is fixed
app.py
CHANGED
|
@@ -25,7 +25,7 @@ MAX_IMAGE_SIZE = 1024
|
|
| 25 |
def infer(
|
| 26 |
model_id: Optional[str] = "CompVis/stable-diffusion-v1-4",
|
| 27 |
prompt: str,
|
| 28 |
-
negative_prompt=gr.Text(
|
| 29 |
seed: Optional[int] = 42,
|
| 30 |
randomize_seed,
|
| 31 |
width,
|
|
|
|
| 25 |
def infer(
|
| 26 |
model_id: Optional[str] = "CompVis/stable-diffusion-v1-4",
|
| 27 |
prompt: str,
|
| 28 |
+
negative_prompt=gr.Text('cat, dog'),
|
| 29 |
seed: Optional[int] = 42,
|
| 30 |
randomize_seed,
|
| 31 |
width,
|