K00B404 commited on
Commit
02adf8c
1 Parent(s): 20f3db7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -6,9 +6,9 @@ import os
6
  from PIL import Image
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"
14
  timeout = 100
@@ -105,11 +105,11 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
105
  <center>
106
  <div id="title-container">
107
  <img id="title-icon" src="icon.jpg" alt="Icon">
108
- <h1 id="title-text">FLUX.1-Dev</h1>
109
  </div>
110
  </center>
111
  """)
112
- gr.HTML("<center><h1>FLUX.1-Dev</h1></center>")
113
  with gr.Column(elem_id="app-container"):
114
  with gr.Row():
115
  with gr.Column(elem_id="prompt-container"):
 
6
  from PIL import Image
7
  from deep_translator import GoogleTranslator
8
 
9
+ #os.makedirs('assets', exist_ok=True)
10
+ if not os.path.exists('icon.jpg'):
11
+ os.system("wget -O 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"
14
  timeout = 100
 
105
  <center>
106
  <div id="title-container">
107
  <img id="title-icon" src="icon.jpg" alt="Icon">
108
+ <h1 id="title-text">FLUX Capacitor</h1>
109
  </div>
110
  </center>
111
  """)
112
+
113
  with gr.Column(elem_id="app-container"):
114
  with gr.Row():
115
  with gr.Column(elem_id="prompt-container"):