Spaces:
Runtime error
Runtime error
ehristoforu
commited on
Commit
•
8b6b591
1
Parent(s):
8de29af
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ API_TOKEN = os.getenv("HF_READ_TOKEN")
|
|
10 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
11 |
|
12 |
|
13 |
-
def query(prompt, is_negative=False, image_style="None style", steps=
|
14 |
images = []
|
15 |
for _ in range(num_images):
|
16 |
if image_style == "None style":
|
|
|
10 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
11 |
|
12 |
|
13 |
+
def query(prompt, is_negative=False, image_style="None style", steps=8, cfg_scale=7, seed=None, num_images=4):
|
14 |
images = []
|
15 |
for _ in range(num_images):
|
16 |
if image_style == "None style":
|