Spaces:
dxdcx
/
Running on CPU Upgrade

dxdcx commited on
Commit
829a052
·
verified ·
1 Parent(s): fc0f289

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ client = OpenAI(
29
  )
30
 
31
  async_client = AsyncOpenAI(
32
- # This is the default and can be omitted
33
- api_key=os.environ.get("OPENAI_API_KEY"),
34
  )
35
 
36
  async def async_ping() -> None:
 
29
  )
30
 
31
  async_client = AsyncOpenAI(
32
+ base_url=base_url,
33
+ api_key=friendli_token,
34
  )
35
 
36
  async def async_ping() -> None: