aifeifei798 commited on
Commit
9037686
·
verified ·
1 Parent(s): 7286e79

Update feifeilib/feifeifluxapi.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeifluxapi.py +1 -0
feifeilib/feifeifluxapi.py CHANGED
@@ -1,3 +1,4 @@
 
1
  from huggingface_hub import InferenceClient
2
  client = InferenceClient("black-forest-labs/FLUX.1-dev", token=os.getenv('HF_TOKEN'))
3
  client.headers["x-use-cache"] = "0"
 
1
+ import os
2
  from huggingface_hub import InferenceClient
3
  client = InferenceClient("black-forest-labs/FLUX.1-dev", token=os.getenv('HF_TOKEN'))
4
  client.headers["x-use-cache"] = "0"