K00B404 commited on
Commit
20f3db7
1 Parent(s): 7b2cc86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.exists('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"