lwdgit commited on
Commit
b32f7b0
·
1 Parent(s): 800a9a2

fix: build

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. requirements.txt +1 -1
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import gradio as gr
2
  import librosa
3
  import numpy as np
 
1
+ import os
2
+ os.system("python -m pip install paddlepaddle-gpu==2.4.1 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html")
3
  import gradio as gr
4
  import librosa
5
  import numpy as np
requirements.txt CHANGED
@@ -5,4 +5,4 @@ paddlehub==2.3.1
5
  paddlenlp==2.4.9
6
  paddlespeech==0.1.0rc0
7
  soundfile==0.12.1
8
- paddlepaddle-gpu==2.4.1 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
 
5
  paddlenlp==2.4.9
6
  paddlespeech==0.1.0rc0
7
  soundfile==0.12.1
8
+