Rooni commited on
Commit
e5158fd
1 Parent(s): ccf7d79

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(f'\033[1mГенерация:\033[0m {prompt}')
20
 
21
  if model == 'DALL-E 3 XL':
22
  API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"