Atreyu4EVR commited on
Commit
2a6e577
·
verified ·
1 Parent(s): 788dd22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ DEFAULT_TEMPERATURE = 0.5
17
 
18
  # initialize the client
19
 
20
- client = InferenceClient(
21
  base_url="https://api-inference.huggingface.co/v1",
22
  api_key=os.environ.get('API_KEY') # Replace with your token
23
  )
 
17
 
18
  # initialize the client
19
 
20
+ client = OpenAI(
21
  base_url="https://api-inference.huggingface.co/v1",
22
  api_key=os.environ.get('API_KEY') # Replace with your token
23
  )