animrods commited on
Commit
4264907
·
verified ·
1 Parent(s): 8d1f3e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ pipe.to(device)
21
  MAX_SEED = np.iinfo(np.int32).max
22
 
23
  @spaces.GPU(enable_queue=True)
24
- def predict(prompt, files, ip_adapter_scale=0.5, negative_prompt="", seed=100, randomize_seed=False, center_crop=False, width=1024, height=1024, guidance_scale=5.0, num_inference_steps=50, progress=gr.Progress(track_tqdm=True)):
25
  if randomize_seed:
26
  seed = random.randint(0, MAX_SEED)
27
 
 
21
  MAX_SEED = np.iinfo(np.int32).max
22
 
23
  @spaces.GPU(enable_queue=True)
24
+ def predict(prompt, upload_images, ip_adapter_scale=0.5, negative_prompt="", seed=100, randomize_seed=False, center_crop=False, width=1024, height=1024, guidance_scale=5.0, num_inference_steps=50, progress=gr.Progress(track_tqdm=True)):
25
  if randomize_seed:
26
  seed = random.randint(0, MAX_SEED)
27