Rooni commited on
Commit
37d740a
1 Parent(s): 90114f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
11
  API_TOKEN = os.getenv("HF_READ_TOKEN") # it is free
12
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
13
 
14
- def query(prompt, model, is_negative=False, steps=20, cfg_scale, seed):
15
  language = detect(prompt)
16
 
17
  if language == 'ru':
 
11
  API_TOKEN = os.getenv("HF_READ_TOKEN") # it is free
12
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
13
 
14
+ def query(prompt, model, is_negative=False, steps=20, cfg_scale=7, seed=-1):
15
  language = detect(prompt)
16
 
17
  if language == 'ru':