Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ app = FastAPI()
|
|
| 12 |
|
| 13 |
# Get the Hugging Face API key from environment variables
|
| 14 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
| 15 |
-
HUGGINGFACE_TOKEN = os.getenv("
|
| 16 |
print(HUGGINGFACE_TOKEN)
|
| 17 |
|
| 18 |
headers = {"Authorization": f"Bearer {HUGGINGFACE_TOKEN}"}
|
|
|
|
| 12 |
|
| 13 |
# Get the Hugging Face API key from environment variables
|
| 14 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
| 15 |
+
HUGGINGFACE_TOKEN = os.getenv("huf_token")
|
| 16 |
print(HUGGINGFACE_TOKEN)
|
| 17 |
|
| 18 |
headers = {"Authorization": f"Bearer {HUGGINGFACE_TOKEN}"}
|