amirkhanbloch commited on
Commit
aa1d356
·
verified ·
1 Parent(s): 81d6d26

Update app.py

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