Mbonea commited on
Commit
a8f5c4f
·
1 Parent(s): 03865f7

await response.json()

Browse files
Files changed (1) hide show
  1. App/Chat/PoeChatrouter.py +3 -1
App/Chat/PoeChatrouter.py CHANGED
@@ -48,7 +48,9 @@ async def fetch_predictions(data):
48
  if str(response.status).startswith("4"):
49
  continue
50
  proxy = str(p)
51
- return await response.json()
 
 
52
  except Exception as e:
53
  print("Error fetching", e)
54
  pass
 
48
  if str(response.status).startswith("4"):
49
  continue
50
  proxy = str(p)
51
+ temp = await response.json()
52
+ print(temp)
53
+ return temp
54
  except Exception as e:
55
  print("Error fetching", e)
56
  pass