Spaces:
Runtime error
Runtime error
ehristoforu
commited on
Commit
•
f5b7834
1
Parent(s):
5ff33b1
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
|
11 |
|
12 |
def query(prompt, is_negative=False, steps=1, cfg_scale=6, seed=None):
|
13 |
payload = {
|
14 |
-
"inputs": prompt
|
15 |
"is_negative": is_negative,
|
16 |
"steps": steps,
|
17 |
"cfg_scale": cfg_scale,
|
|
|
11 |
|
12 |
def query(prompt, is_negative=False, steps=1, cfg_scale=6, seed=None):
|
13 |
payload = {
|
14 |
+
"inputs": prompt,
|
15 |
"is_negative": is_negative,
|
16 |
"steps": steps,
|
17 |
"cfg_scale": cfg_scale,
|