Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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,
|
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 |
|