abdibrahem commited on
Commit
c8da929
·
1 Parent(s): c037858

fix aync requests

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -766,7 +766,7 @@ class HealthcareChatbot:
766
  headers=self.headers,
767
  timeout=aiohttp.ClientTimeout(total=10)
768
  )
769
- return await response.json
770
 
771
  except aiohttp.ClientResponseError as e:
772
  retries += 1
 
766
  headers=self.headers,
767
  timeout=aiohttp.ClientTimeout(total=10)
768
  )
769
+ return await response.json()
770
 
771
  except aiohttp.ClientResponseError as e:
772
  retries += 1