RICHKEED commited on
Commit
9561afd
·
verified ·
1 Parent(s): eaa43a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ repo = "stabilityai/stable-diffusion-3-medium-diffusers"
12
  pipe = StableDiffusion3Pipeline.from_pretrained(repo, torch_dtype=torch.float16).to(device)
13
 
14
  MAX_SEED = np.iinfo(np.int32).max
15
- MAX_IMAGE_SIZE = 1344
16
 
17
  @spaces.GPU
18
  def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
 
12
  pipe = StableDiffusion3Pipeline.from_pretrained(repo, torch_dtype=torch.float16).to(device)
13
 
14
  MAX_SEED = np.iinfo(np.int32).max
15
+ MAX_IMAGE_SIZE = 2048
16
 
17
  @spaces.GPU
18
  def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):