TejAndrewsACC commited on
Commit
917a0f8
·
verified ·
1 Parent(s): 2afbb97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  from huggingface_hub import InferenceClient
2
  import os
3
- hf_token = os.getenv("HF_TOKEN")
 
4
 
5
  client = InferenceClient(api_key="hf_token")
6
 
 
1
  from huggingface_hub import InferenceClient
2
  import os
3
+
4
+ hf_token = os.getenv("HF_TOKEN").strip()
5
 
6
  client = InferenceClient(api_key="hf_token")
7