Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,9 @@ from fastapi import FastAPI
|
|
| 16 |
|
| 17 |
app = FastAPI()
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
| 21 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
| 22 |
timeout = 100
|
|
|
|
| 16 |
|
| 17 |
app = FastAPI()
|
| 18 |
|
| 19 |
+
|
| 20 |
+
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-3.5-large"
|
| 21 |
+
|
| 22 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
| 23 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
| 24 |
timeout = 100
|