Spaces:
Running
Running
Update app.py
Browse files
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"
|