Rooni commited on
Commit
659f54c
1 Parent(s): c25d024

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def query(prompt, model, is_negative=False, steps=20, cfg_scale=7, seed=None):
16
 
17
  if language == 'ru':
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"
 
16
 
17
  if language == 'ru':
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"