Spaces:
Running
Running
JV A
commited on
Commit
·
9d16904
1
Parent(s):
a018aaa
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ import os
|
|
7 |
import random
|
8 |
|
9 |
def generate_image(prompt, negative_prompt, scheduler, steps, width, height, restore_faces, seed, cfg, token):
|
|
|
10 |
# Define the API endpoint
|
11 |
apiUrl = "https://apiv2.makeai.run/v2/txt2img"
|
12 |
# Define the request headers
|
|
|
7 |
import random
|
8 |
|
9 |
def generate_image(prompt, negative_prompt, scheduler, steps, width, height, restore_faces, seed, cfg, token):
|
10 |
+
print(f"restore_faces: {restore_faces}, type: {type(restore_faces)}")
|
11 |
# Define the API endpoint
|
12 |
apiUrl = "https://apiv2.makeai.run/v2/txt2img"
|
13 |
# Define the request headers
|