K00B404 commited on
Commit
0830cd9
·
verified ·
1 Parent(s): c551465

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ chatter="K00B404/transcript_image_generator"
12
 
13
  # Set your API endpoint and authorization details
14
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
15
- headers = {"Authorization": "Bearer "+ token } # Replace with your actual token
16
  timeout = 60 # seconds
17
 
18
  # Load BLIP model for image captioning
 
12
 
13
  # Set your API endpoint and authorization details
14
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
15
+ headers = {"Authorization": f"Bearer {token}"} # Replace with your actual token
16
  timeout = 60 # seconds
17
 
18
  # Load BLIP model for image captioning