Saqib commited on
Commit
3ca47bc
·
verified ·
1 Parent(s): 29dae34

Update modules/app.py

Browse files
Files changed (1) hide show
  1. modules/app.py +3 -3
modules/app.py CHANGED
@@ -215,14 +215,14 @@ async def pixart_sigma(request: Request):
215
  }
216
 
217
  async with aiohttp.ClientSession() as session:
218
- async with session.post(f'{pixart_sigma_base_url}/queue/join', params=params, headers=headers, json=json_data) as response:
219
- print(response.text)
220
 
221
  params = {
222
  'session_hash': hash,
223
  }
224
 
225
- async with session.get(f'{pixart_sigma_base_url}/queue/data', params=params, headers=headers) as response:
226
  async for line in response.content:
227
  try:
228
  if line:
 
215
  }
216
 
217
  async with aiohttp.ClientSession() as session:
218
+ async with session.post(f'{pixart_sigma_base_url}/queue/join', params=params, headers=headers, json=json_data, ssl=False) as response:
219
+ print(response.status)
220
 
221
  params = {
222
  'session_hash': hash,
223
  }
224
 
225
+ async with session.get(f'{pixart_sigma_base_url}/queue/data', params=params, headers=headers, ssl=False) as response:
226
  async for line in response.content:
227
  try:
228
  if line: