Spaces:
Runtime error
Runtime error
hemanth678599
commited on
Commit
•
5338fad
1
Parent(s):
3a371aa
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(
|
|
14 |
warnings.filterwarnings("ignore", category=FutureWarning)
|
15 |
|
16 |
# Get the Hugging Face token from environment variables
|
17 |
-
hf_token = os.getenv("
|
18 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
19 |
headers = {"Authorization": f"Bearer {hf_token}"}
|
20 |
|
|
|
14 |
warnings.filterwarnings("ignore", category=FutureWarning)
|
15 |
|
16 |
# Get the Hugging Face token from environment variables
|
17 |
+
hf_token = os.getenv("hemanth")
|
18 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
19 |
headers = {"Authorization": f"Bearer {hf_token}"}
|
20 |
|