Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.conf
|
|
44 |
pipe.to(device)
|
45 |
|
46 |
MAX_SEED = np.iinfo(np.int32).max
|
47 |
-
MAX_IMAGE_SIZE =
|
48 |
|
49 |
@spaces.GPU
|
50 |
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
|
|
|
44 |
pipe.to(device)
|
45 |
|
46 |
MAX_SEED = np.iinfo(np.int32).max
|
47 |
+
MAX_IMAGE_SIZE = 4096
|
48 |
|
49 |
@spaces.GPU
|
50 |
def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
|