JackismyShephard commited on
Commit
cd96dae
1 Parent(s): ec39417

use specific revision of model

Browse files

use new model revision

update model revision

Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -8,6 +8,7 @@ from resemble_enhance.enhancer.inference import denoise, enhance
8
 
9
  checkpoint_finetuned = "JackismyShephard/speecht5_tts-finetuned-nst-da"
10
 
 
11
  device = 0 if torch.cuda.is_available() else "cpu"
12
 
13
  pipe = pipeline(
@@ -15,6 +16,7 @@ pipe = pipeline(
15
  model=checkpoint_finetuned,
16
  use_fast=True,
17
  device=device,
 
18
  )
19
 
20
 
 
8
 
9
  checkpoint_finetuned = "JackismyShephard/speecht5_tts-finetuned-nst-da"
10
 
11
+ revision = "5af228df418092b681cf31c31e413bdd2b5f9c8c"
12
  device = 0 if torch.cuda.is_available() else "cpu"
13
 
14
  pipe = pipeline(
 
16
  model=checkpoint_finetuned,
17
  use_fast=True,
18
  device=device,
19
+ revision = revision,
20
  )
21
 
22