Sagar23p commited on
Commit
47377ae
·
verified ·
1 Parent(s): 1a71694

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ load_dotenv()
21
 
22
  # initialize the client
23
  client = InferenceClient(
 
24
  api_key=os.environ.get('HUGGINGFACE_API')#"hf_xxx" # Replace with your token
25
  )
26
 
 
21
 
22
  # initialize the client
23
  client = InferenceClient(
24
+ base_url="https://api-inference.huggingface.co/v1",
25
  api_key=os.environ.get('HUGGINGFACE_API')#"hf_xxx" # Replace with your token
26
  )
27