Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ import json
|
|
| 10 |
|
| 11 |
# Project by Nymbo
|
| 12 |
|
| 13 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
| 14 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
| 15 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
| 16 |
timeout = 100
|
|
@@ -78,7 +78,7 @@ css = """
|
|
| 78 |
# Build the Gradio UI with Blocks
|
| 79 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
| 80 |
# Add a title to the app
|
| 81 |
-
gr.HTML("<center><h1>
|
| 82 |
|
| 83 |
# Container for all the UI elements
|
| 84 |
with gr.Column(elem_id="app-container"):
|
|
|
|
| 10 |
|
| 11 |
# Project by Nymbo
|
| 12 |
|
| 13 |
+
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-3.5-large"
|
| 14 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
| 15 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
| 16 |
timeout = 100
|
|
|
|
| 78 |
# Build the Gradio UI with Blocks
|
| 79 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
| 80 |
# Add a title to the app
|
| 81 |
+
gr.HTML("<center><h1>Stable Diffusion 3.5 Large</h1></center>")
|
| 82 |
|
| 83 |
# Container for all the UI elements
|
| 84 |
with gr.Column(elem_id="app-container"):
|