Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ import traceback # For detailed error logging
|
|
14 |
# Project by Nymbo
|
15 |
|
16 |
# --- Constants ---
|
17 |
-
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-3.5-
|
18 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
19 |
if not API_TOKEN:
|
20 |
print("WARNING: HF_READ_TOKEN environment variable not set. API calls may fail.")
|
@@ -225,7 +225,7 @@ textarea:focus {
|
|
225 |
|
226 |
# --- Build the Gradio UI with Blocks ---
|
227 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
228 |
-
gr.HTML("<center><h1>Stable Diffusion 3.5
|
229 |
|
230 |
with gr.Column(elem_id="app-container"):
|
231 |
# --- Input Components ---
|
|
|
14 |
# Project by Nymbo
|
15 |
|
16 |
# --- Constants ---
|
17 |
+
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-3.5-turbo"
|
18 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
19 |
if not API_TOKEN:
|
20 |
print("WARNING: HF_READ_TOKEN environment variable not set. API calls may fail.")
|
|
|
225 |
|
226 |
# --- Build the Gradio UI with Blocks ---
|
227 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
228 |
+
gr.HTML("<center><h1>Stable Diffusion 3.5 Turbo</h1></center>")
|
229 |
|
230 |
with gr.Column(elem_id="app-container"):
|
231 |
# --- Input Components ---
|