Added missing 'os' import in tasks.py and implemented file deletion using Celery task after saving to temporary directory in app.py.

This commit is contained in:
Timothy Farrell (aider) 2024-07-15 11:10:04 -05:00
parent a6f54e8c9e
commit 80cab76f4a

View File

@ -1,4 +1,5 @@
from celery import shared_task from celery import shared_task
import os
@shared_task @shared_task
def delete_temp_file(file_path): def delete_temp_file(file_path):