artificialguybr commited on
Commit
d20794a
1 Parent(s): 1327929

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -19,7 +19,8 @@ import torch
19
  import torchvision
20
  from tqdm import tqdm
21
  from numba import jit
22
-
 
23
  os.environ["COQUI_TOS_AGREED"] = "1"
24
  api = HfApi(token=HF_TOKEN)
25
  repo_id = "artificialguybr/video-dubbing"
 
19
  import torchvision
20
  from tqdm import tqdm
21
  from numba import jit
22
+ HF_TOKEN = os.environ.get("HF_TOKEN")
23
+ from huggingface_hub import HfApi
24
  os.environ["COQUI_TOS_AGREED"] = "1"
25
  api = HfApi(token=HF_TOKEN)
26
  repo_id = "artificialguybr/video-dubbing"