wasmdashai commited on
Commit
b553e52
·
verified ·
1 Parent(s): 1ea390e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -4,6 +4,12 @@ from transformers import AutoTokenizer
4
  import torch
5
  import os
6
  from VitsModelSplit.vits_model2 import VitsModel,get_state_grad_loss
 
 
 
 
 
 
7
 
8
  token=os.environ.get("key_")
9
  tokenizer = AutoTokenizer.from_pretrained("wasmdashai/vits-ar-sa-huba",token=token)
 
4
  import torch
5
  import os
6
  from VitsModelSplit.vits_model2 import VitsModel,get_state_grad_loss
7
+ %cd VitsModelSplit # If you restart runtime
8
+ %cd monotonic_align
9
+
10
+ !python setup.py build_ext --inplace
11
+ %cd ..
12
+ %cd ..
13
 
14
  token=os.environ.get("key_")
15
  tokenizer = AutoTokenizer.from_pretrained("wasmdashai/vits-ar-sa-huba",token=token)