Rooni commited on
Commit
8fb92bc
1 Parent(s): cd28a2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def query(prompt, model, is_negative=False, steps=20, cfg_scale=7, seed=None):
18
  prompt = GoogleTranslator(source='ru', target='en').translate(prompt)
19
  print(prompt)
20
 
21
- if model == 'DALL-E 3 XL'
22
  API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
23
 
24
  payload = {
 
18
  prompt = GoogleTranslator(source='ru', target='en').translate(prompt)
19
  print(prompt)
20
 
21
+ if model == 'DALL-E 3 XL':
22
  API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
23
 
24
  payload = {