Speedofmastery commited on
Commit
6379dbe
·
verified ·
1 Parent(s): 4d08675

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -17,10 +17,7 @@ import uvicorn
17
 
18
  # HuggingFace Inference Client
19
  HF_TOKEN = os.getenv("HF_TOKEN", "")
20
- inference_client = InferenceClient(
21
- token=HF_TOKEN if HF_TOKEN else None,
22
- base_url="https://router.huggingface.co/hf-inference"
23
- )
24
 
25
  # Cloudflare Configuration
26
  CLOUDFLARE_CONFIG = {
 
17
 
18
  # HuggingFace Inference Client
19
  HF_TOKEN = os.getenv("HF_TOKEN", "")
20
+ inference_client = InferenceClient(token=HF_TOKEN if HF_TOKEN else None)
 
 
 
21
 
22
  # Cloudflare Configuration
23
  CLOUDFLARE_CONFIG = {