status = {}
Browse files
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()
|