Spaces:
Sleeping
Sleeping
remove negative prompt from model call
Browse files
app.py
CHANGED
@@ -30,7 +30,6 @@ MAX_IMAGE_SIZE = 1024
|
|
30 |
@spaces.GPU(duration=65)
|
31 |
def infer(
|
32 |
prompt,
|
33 |
-
negative_prompt="",
|
34 |
seed=42,
|
35 |
randomize_seed=False,
|
36 |
width=1024,
|
@@ -46,7 +45,6 @@ def infer(
|
|
46 |
|
47 |
image = pipe(
|
48 |
prompt=prompt,
|
49 |
-
negative_prompt=negative_prompt,
|
50 |
guidance_scale=guidance_scale,
|
51 |
num_inference_steps=num_inference_steps,
|
52 |
width=width,
|
|
|
30 |
@spaces.GPU(duration=65)
|
31 |
def infer(
|
32 |
prompt,
|
|
|
33 |
seed=42,
|
34 |
randomize_seed=False,
|
35 |
width=1024,
|
|
|
45 |
|
46 |
image = pipe(
|
47 |
prompt=prompt,
|
|
|
48 |
guidance_scale=guidance_scale,
|
49 |
num_inference_steps=num_inference_steps,
|
50 |
width=width,
|