Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -999,7 +999,7 @@ async def notifications(request: Request, background_tasks: BackgroundTasks):
|
|
| 999 |
for file in files:
|
| 1000 |
if file['mimeType'].startswith('image/'):
|
| 1001 |
logging.info(f"Processing new image: {file['id']}")
|
| 1002 |
-
await
|
| 1003 |
|
| 1004 |
except HttpError as e:
|
| 1005 |
logging.error(f"HttpError processing folder changes: {e}")
|
|
|
|
| 999 |
for file in files:
|
| 1000 |
if file['mimeType'].startswith('image/'):
|
| 1001 |
logging.info(f"Processing new image: {file['id']}")
|
| 1002 |
+
await process_photo(user_id, file['id'], background_tasks)
|
| 1003 |
|
| 1004 |
except HttpError as e:
|
| 1005 |
logging.error(f"HttpError processing folder changes: {e}")
|