Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,8 @@ def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|
|
20 |
def get_instantID(portrait_in, condition_pose, prompt, style):
|
21 |
|
22 |
negative_prompt = "(lowres, low quality, worst quality:1.2), (text:1.2), watermark, (frame:1.2), deformed, ugly, deformed eyes, blur, out of focus, blurry, deformed cat, deformed, photo, anthropomorphic cat, monochrome, pet collar, gun, weapon, blue, 3d, drones, drone, buildings in background, green"
|
|
|
|
|
23 |
seed = random.randint(0, MAX_SEED)
|
24 |
|
25 |
client = Client("https://instantx-instantid.hf.space/")
|
|
|
20 |
def get_instantID(portrait_in, condition_pose, prompt, style):
|
21 |
|
22 |
negative_prompt = "(lowres, low quality, worst quality:1.2), (text:1.2), watermark, (frame:1.2), deformed, ugly, deformed eyes, blur, out of focus, blurry, deformed cat, deformed, photo, anthropomorphic cat, monochrome, pet collar, gun, weapon, blue, 3d, drones, drone, buildings in background, green"
|
23 |
+
|
24 |
+
seed = 42
|
25 |
seed = random.randint(0, MAX_SEED)
|
26 |
|
27 |
client = Client("https://instantx-instantid.hf.space/")
|