VeuReu commited on
Commit
472c07f
·
1 Parent(s): cf71735

Upload 2 files

Browse files
Files changed (1) hide show
  1. utils.py +2 -1
utils.py CHANGED
@@ -19,7 +19,8 @@ def get_project_root() -> Path:
19
  """
20
  if os.getenv("SPACE_ID") is not None:
21
  return Path("/tmp/data")
22
- return Path(__file__).resolve().parent
 
23
 
24
 
25
  def incrustar_subtitulos_ffmpeg(
 
19
  """
20
  if os.getenv("SPACE_ID") is not None:
21
  return Path("/tmp/data")
22
+ # En local, la raíz del proyecto es la carpeta 'app', que contiene este fichero.
23
+ return Path(__file__).resolve().parent.parent
24
 
25
 
26
  def incrustar_subtitulos_ffmpeg(