Spaces:
Abhinay45
/
Runtime error

Abhinay45 commited on
Commit
9c8f37d
Β·
verified Β·
1 Parent(s): d3b67ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -39,7 +39,7 @@ from huggingface_hub import HfApi
39
 
40
  # will use api to restart space on a unrecoverable error
41
  api = HfApi(token=HF_TOKEN)
42
- repo_id = "coqui/xtts"
43
 
44
  # Use never ffmpeg binary for Ubuntu20 to use denoising for microphone input
45
  print("Export newer ffmpeg binary for denoise filter")
@@ -66,9 +66,9 @@ model.load_checkpoint(
66
  checkpoint_path=os.path.join(model_path, "model.pth"),
67
  vocab_path=os.path.join(model_path, "vocab.json"),
68
  eval=True,
69
- use_deepspeed=True,
70
  )
71
- model.cuda()
72
 
73
  # This is for debugging purposes only
74
  DEVICE_ASSERT_DETECTED = 0
 
39
 
40
  # will use api to restart space on a unrecoverable error
41
  api = HfApi(token=HF_TOKEN)
42
+ repo_id = "Abhinay45/XTTS-IITM"
43
 
44
  # Use never ffmpeg binary for Ubuntu20 to use denoising for microphone input
45
  print("Export newer ffmpeg binary for denoise filter")
 
66
  checkpoint_path=os.path.join(model_path, "model.pth"),
67
  vocab_path=os.path.join(model_path, "vocab.json"),
68
  eval=True,
69
+ use_deepspeed=False,
70
  )
71
+ model.cpu()
72
 
73
  # This is for debugging purposes only
74
  DEVICE_ASSERT_DETECTED = 0