Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,10 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
15 |
MAX_IMAGE_SIZE = 2048
|
16 |
|
17 |
@spaces.GPU
|
18 |
-
def infer(
|
19 |
-
|
|
|
|
|
20 |
if randomize_seed:
|
21 |
seed = random.randint(0, MAX_SEED)
|
22 |
|
|
|
15 |
MAX_IMAGE_SIZE = 2048
|
16 |
|
17 |
@spaces.GPU
|
18 |
+
def infer(seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
|
19 |
+
prompt="1girl"
|
20 |
+
negagive_prompt="bad hands"
|
21 |
+
|
22 |
if randomize_seed:
|
23 |
seed = random.randint(0, MAX_SEED)
|
24 |
|