Geek7 commited on
Commit
b8d0ae7
·
verified ·
1 Parent(s): 4726198

Update myapp.py

Browse files
Files changed (1) hide show
  1. myapp.py +1 -1
myapp.py CHANGED
@@ -10,7 +10,7 @@ CORS(myapp)
10
 
11
  # Your Hugging Face API Token
12
 
13
-
14
  # Initialize the Inference Client
15
  client = InferenceClient(model="stabilityai/sd-x2-latent-upscaler", token=HF_TOKEN)
16
 
 
10
 
11
  # Your Hugging Face API Token
12
 
13
+ HF_TOKEN = os.environ.get("HF_TOKEN")
14
  # Initialize the Inference Client
15
  client = InferenceClient(model="stabilityai/sd-x2-latent-upscaler", token=HF_TOKEN)
16