ParthSadaria commited on
Commit
d36d29e
·
verified ·
1 Parent(s): 7362885

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -91,7 +91,8 @@ async def process_chat(chat_request: ChatMessage):
91
  async with httpx.AsyncClient(timeout=60.0) as client:
92
  response = await client.post(
93
  "https://parthsadaria-lokiai.hf.space/chat/completions",
94
- json=api_request
 
95
  )
96
  response_data = response.json()
97
 
 
91
  async with httpx.AsyncClient(timeout=60.0) as client:
92
  response = await client.post(
93
  "https://parthsadaria-lokiai.hf.space/chat/completions",
94
+ json=api_request,
95
+ headers={"Authorization": "sigma"}
96
  )
97
  response_data = response.json()
98