Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
from deep_translator import GoogleTranslator
|
8 |
|
9 |
os.makedirs('assets', exist_ok=True)
|
10 |
-
if not os.path.exist('assets/icon.jpg')
|
11 |
os.system("wget -O assets/icon.jpg https://i.pinimg.com/564x/64/49/88/644988c59447eb00286834c2e70fdd6b.jpg")
|
12 |
|
13 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
|
|
7 |
from deep_translator import GoogleTranslator
|
8 |
|
9 |
os.makedirs('assets', exist_ok=True)
|
10 |
+
if not os.path.exist('assets/icon.jpg'):
|
11 |
os.system("wget -O assets/icon.jpg https://i.pinimg.com/564x/64/49/88/644988c59447eb00286834c2e70fdd6b.jpg")
|
12 |
|
13 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|