wasmdashai commited on
Commit
d17a96e
·
verified ·
1 Parent(s): ac9acdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -641,7 +641,9 @@ pro=TrinerModelVITS(dir_model=dir_model,
641
  token=token,
642
  device=device
643
  )
644
-
 
 
645
  @spaces.GPU(duration=30)
646
  def run_train_epoch(num):
647
  TrinerModelVITS.KC+=1
@@ -671,8 +673,7 @@ def init_Starting():
671
  def init_wandb():
672
  pro.init_wandb()
673
  return 'init_wandb'
674
- def loadd_d():
675
- pro.load_modell("wasmdashai/vits-ar-sa-huba")
676
  def save_pretrained(path):
677
  pro.save_pretrained(path)
678
 
 
641
  token=token,
642
  device=device
643
  )
644
+ def loadd_d():
645
+ x=pro.load_modell("wasmdashai/vits-ar-sa-huba")
646
+ return x
647
  @spaces.GPU(duration=30)
648
  def run_train_epoch(num):
649
  TrinerModelVITS.KC+=1
 
673
  def init_wandb():
674
  pro.init_wandb()
675
  return 'init_wandb'
676
+
 
677
  def save_pretrained(path):
678
  pro.save_pretrained(path)
679