Update main_process/main_router.py
Browse files
main_process/main_router.py
CHANGED
|
@@ -20,7 +20,7 @@ EMBEDDINGS_ROOT = Path("/data/embeddings")
|
|
| 20 |
MEDIA_ROOT = Path("/data/media")
|
| 21 |
os.environ["CUDA_VISIBLE_DEVICES"] = "1"
|
| 22 |
router = APIRouter(prefix="/transcription", tags=["Initial Transcription Process"])
|
| 23 |
-
HF_TOKEN = os.getenv("
|
| 24 |
|
| 25 |
def get_casting(video_sha1: str):
|
| 26 |
"""Recupera els embeddings reals de càsting per a un vídeo a partir del seu SHA1.
|
|
|
|
| 20 |
MEDIA_ROOT = Path("/data/media")
|
| 21 |
os.environ["CUDA_VISIBLE_DEVICES"] = "1"
|
| 22 |
router = APIRouter(prefix="/transcription", tags=["Initial Transcription Process"])
|
| 23 |
+
HF_TOKEN = os.getenv("VEUREU_TOKEN")
|
| 24 |
|
| 25 |
def get_casting(video_sha1: str):
|
| 26 |
"""Recupera els embeddings reals de càsting per a un vídeo a partir del seu SHA1.
|