Vijish commited on
Commit
defb482
·
verified ·
1 Parent(s): 623d09e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def process_image(input_image, prompt):
21
 
22
  # Prepare headers and data
23
  headers = {
24
- "Authorization": f"Bearer {API_TOKEN}",
25
  "Content-Type": "application/json",
26
  "Accept": "application/json"
27
  }
 
21
 
22
  # Prepare headers and data
23
  headers = {
24
+ "Authorization": f"Bearer {os.getenv('HF_API_KEY')}",
25
  "Content-Type": "application/json",
26
  "Accept": "application/json"
27
  }