Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
5e12bb2
1
Parent(s):
c32e9e1
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
60 |
MAX_IMAGE_SIZE = 1024
|
61 |
|
62 |
@spaces.GPU
|
63 |
-
def infer(prompt, ip_adapter_image, ip_adapter_scale=0.5, negative_prompt="", seed=
|
64 |
if randomize_seed:
|
65 |
seed = random.randint(0, MAX_SEED)
|
66 |
|
|
|
60 |
MAX_IMAGE_SIZE = 1024
|
61 |
|
62 |
@spaces.GPU
|
63 |
+
def infer(prompt, ip_adapter_image, ip_adapter_scale=0.5, negative_prompt="", seed=100, randomize_seed=False, width=1024, height=1024, guidance_scale=5.0, num_inference_steps=50, progress=gr.Progress(track_tqdm=True)):
|
64 |
if randomize_seed:
|
65 |
seed = random.randint(0, MAX_SEED)
|
66 |
|