Spaces:
Paused
Paused
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
|
|
@@ -65,7 +65,7 @@ css = """
|
|
| 65 |
"""
|
| 66 |
|
| 67 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
| 68 |
-
gr.HTML("<center><h1>
|
| 69 |
with gr.Column(elem_id="app-container"):
|
| 70 |
with gr.Row():
|
| 71 |
with gr.Column(elem_id="prompt-container"):
|
|
|
|
| 10 |
|
| 11 |
# Project by Nymbo
|
| 12 |
|
| 13 |
+
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
|
| 14 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
| 15 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
| 16 |
timeout = 100
|
|
|
|
| 65 |
"""
|
| 66 |
|
| 67 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
| 68 |
+
gr.HTML("<center><h1>Stable Diffusion XL</h1></center>")
|
| 69 |
with gr.Column(elem_id="app-container"):
|
| 70 |
with gr.Row():
|
| 71 |
with gr.Column(elem_id="prompt-container"):
|