Russell1123213123 commited on
Commit
4b77c5c
1 Parent(s): b50d5d7

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. app.py +4 -0
  3. requirements.txt +4 -1
README.md CHANGED
@@ -2,7 +2,7 @@
2
  title: testOpenVoice
3
  app_file: app.py
4
  sdk: gradio
5
- sdk_version: 4.37.2
6
  ---
7
  <div align="center">
8
  <div>&nbsp;</div>
@@ -77,4 +77,4 @@ Join our [Discord community](https://discord.gg/myshell) and select the `Develop
77
  OpenVoice V1 and V2 are MIT Licensed. Free for both commercial and research use.
78
 
79
  ## Acknowledgements
80
- This implementation is based on several excellent projects, [TTS](https://github.com/coqui-ai/TTS), [VITS](https://github.com/jaywalnut310/vits), and [VITS2](https://github.com/daniilrobnikov/vits2). Thanks for their awesome work!
 
2
  title: testOpenVoice
3
  app_file: app.py
4
  sdk: gradio
5
+ sdk_version: 3.48.0
6
  ---
7
  <div align="center">
8
  <div>&nbsp;</div>
 
77
  OpenVoice V1 and V2 are MIT Licensed. Free for both commercial and research use.
78
 
79
  ## Acknowledgements
80
+ This implementation is based on several excellent projects, [TTS](https://github.com/coqui-ai/TTS), [VITS](https://github.com/jaywalnut310/vits), and [VITS2](https://github.com/daniilrobnikov/vits2). Thanks for their awesome work!
app.py CHANGED
@@ -57,4 +57,8 @@ demo = gr.Interface(
57
  )
58
 
59
  if __name__ == "__main__":
 
 
 
 
60
  demo.launch(share=True)
 
57
  )
58
 
59
  if __name__ == "__main__":
60
+ if torch.cuda.is_available():
61
+ generator = torch.Generator('cuda').manual_seed(seed)
62
+ else:
63
+ generator = torch.Generator().manual_seed(seed)
64
  demo.launch(share=True)
requirements.txt CHANGED
@@ -9,7 +9,10 @@ arrow==1.3.0
9
  asttokens==2.4.1
10
  async-lru==2.0.4
11
  attrs==23.2.0
12
- torch==2.0.0
 
 
 
13
  audioread==3.0.1
14
  av==10.0.0
15
  Babel==2.15.0
 
9
  asttokens==2.4.1
10
  async-lru==2.0.4
11
  attrs==23.2.0
12
+ torch==2.1.0
13
+ torchvision==0.16.0
14
+ torchaudio==2.1.0
15
+ pytorch-lightning==2.1.2
16
  audioread==3.0.1
17
  av==10.0.0
18
  Babel==2.15.0