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

Update app.py

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