VoiceCloning-be commited on
Commit
1af80aa
1 Parent(s): d399699

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
17
  # Init TTS
18
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
19
 
20
- @spaces.GPU(duration=360)
21
  def voice_clone(text: str, speaker_wav: str, language: str):
22
  # Run TTS
23
  print("Speaker wav:", speaker_wav)
 
17
  # Init TTS
18
  tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
19
 
20
+ @spaces.GPU(duration=90)
21
  def voice_clone(text: str, speaker_wav: str, language: str):
22
  # Run TTS
23
  print("Speaker wav:", speaker_wav)