mirror of https://github.com/arc53/DocsGPT
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
265 B
Python
8 lines
265 B
Python
12 months ago
|
from application.worker import ingest_worker
|
||
|
from application.celery import celery
|
||
|
|
||
|
@celery.task(bind=True)
|
||
|
def ingest(self, directory, formats, name_job, filename, user):
|
||
|
resp = ingest_worker(self, directory, formats, name_job, filename, user)
|
||
|
return resp
|