Mbonea commited on
Commit
8f4771f
1 Parent(s): 89a5dbb

status = {}

Browse files
Files changed (1) hide show
  1. App/Generate/database/Vercel.py +1 -0
App/Generate/database/Vercel.py CHANGED
@@ -44,6 +44,7 @@ class AsyncImageGenerator:
44
  async def fetch_image_status(self, image_id):
45
  url = f"https://replicate.com/api/predictions/{image_id}"
46
  async with self.session.get(url) as response:
 
47
  try:
48
  response.raise_for_status()
49
  temp = await response.json()
 
44
  async def fetch_image_status(self, image_id):
45
  url = f"https://replicate.com/api/predictions/{image_id}"
46
  async with self.session.get(url) as response:
47
+ status = {}
48
  try:
49
  response.raise_for_status()
50
  temp = await response.json()