Mbonea commited on
Commit
88ae3f5
·
1 Parent(s): e1a5ac8

chat_router

Browse files
Files changed (1) hide show
  1. App/Chat/PoeChatrouter.py +0 -7
App/Chat/PoeChatrouter.py CHANGED
@@ -65,13 +65,6 @@ async def fetch_predictions(data):
65
  proxy = ""
66
 
67
 
68
- async def fetch_result(id):
69
- url = f"https://replicate.com/api/predictions/{id}"
70
- async with ClientSession() as session:
71
- async with session.get(url) as response:
72
- return await response.json(), response.status
73
-
74
-
75
  @chat_router.post("/predictions")
76
  async def get_predictions(input_data: InputData):
77
  data = {
 
65
  proxy = ""
66
 
67
 
 
 
 
 
 
 
 
68
  @chat_router.post("/predictions")
69
  async def get_predictions(input_data: InputData):
70
  data = {