different workers
Browse files- App/Worker.py +1 -1
App/Worker.py
CHANGED
|
@@ -43,7 +43,7 @@ def transcription_task(self, file_path, model_size="tiny"):
|
|
| 43 |
return data
|
| 44 |
|
| 45 |
|
| 46 |
-
@celery.task(name="
|
| 47 |
def downloadfile(self, url, ydl_opts, model_size="base"):
|
| 48 |
self.update_state(state="Downloading File..", meta={})
|
| 49 |
|
|
|
|
| 43 |
return data
|
| 44 |
|
| 45 |
|
| 46 |
+
@celery.task(name="downloadx", bind=True)
|
| 47 |
def downloadfile(self, url, ydl_opts, model_size="base"):
|
| 48 |
self.update_state(state="Downloading File..", meta={})
|
| 49 |
|