Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,6 @@ pipe.load_ip_adapter("briaai/DEV-Image-Prompt", subfolder='models', weight_name=
|
|
16 |
|
17 |
MAX_SEED = np.iinfo(np.int32).max
|
18 |
|
19 |
-
@spaces.GPU
|
20 |
def predict(prompt, ip_adapter_image, 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)):
|
21 |
if randomize_seed:
|
22 |
seed = random.randint(0, MAX_SEED)
|
|
|
16 |
|
17 |
MAX_SEED = np.iinfo(np.int32).max
|
18 |
|
|
|
19 |
def predict(prompt, ip_adapter_image, 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)):
|
20 |
if randomize_seed:
|
21 |
seed = random.randint(0, MAX_SEED)
|