VeuReu commited on
Commit
d6fb48d
·
verified ·
1 Parent(s): 9586ee0

Update main_process/main_router.py

Browse files
Files changed (1) hide show
  1. main_process/main_router.py +1 -1
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("HF_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.
 
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.