mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-05-06 20:01:37 +08:00
Move to Gradio 4.23.0 (#1928)
This commit is contained in:
parent
a84bba36be
commit
8fd883d739
@ -57,7 +57,7 @@
|
|||||||
"!apt-get -y install build-essential python3-dev ffmpeg\n",
|
"!apt-get -y install build-essential python3-dev ffmpeg\n",
|
||||||
"!pip3 install --upgrade setuptools wheel\n",
|
"!pip3 install --upgrade setuptools wheel\n",
|
||||||
"!pip3 install --upgrade pip\n",
|
"!pip3 install --upgrade pip\n",
|
||||||
"!pip3 install faiss-cpu==1.7.2 fairseq gradio==3.14.0 ffmpeg ffmpeg-python praat-parselmouth pyworld numpy==1.23.5 numba==0.56.4 librosa==0.9.2"
|
"!pip3 install faiss-cpu==1.7.2 fairseq gradio==4.23.0 ffmpeg ffmpeg-python praat-parselmouth pyworld numpy==1.23.5 numba==0.56.4 librosa==0.9.2"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
"!apt-get -y install build-essential python3-dev ffmpeg\n",
|
"!apt-get -y install build-essential python3-dev ffmpeg\n",
|
||||||
"!pip3 install --upgrade setuptools wheel\n",
|
"!pip3 install --upgrade setuptools wheel\n",
|
||||||
"!pip3 install --upgrade pip\n",
|
"!pip3 install --upgrade pip\n",
|
||||||
"!pip3 install faiss-cpu==1.7.2 fairseq gradio==3.14.0 ffmpeg ffmpeg-python praat-parselmouth pyworld numpy==1.23.5 numba==0.56.4 librosa==0.9.2"
|
"!pip3 install faiss-cpu==1.7.2 fairseq gradio==4.23.0 ffmpeg ffmpeg-python praat-parselmouth pyworld numpy==1.23.5 numba==0.56.4 librosa==0.9.2"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
15
infer-web.py
15
infer-web.py
@ -120,16 +120,6 @@ else:
|
|||||||
gpus = "-".join([i[0] for i in gpu_infos])
|
gpus = "-".join([i[0] for i in gpu_infos])
|
||||||
|
|
||||||
|
|
||||||
class ToolButton(gr.Button, gr.components.FormComponent):
|
|
||||||
"""Small button with single emoji as text, fits inside gradio forms"""
|
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
|
||||||
super().__init__(variant="tool", **kwargs)
|
|
||||||
|
|
||||||
def get_block_name(self):
|
|
||||||
return "button"
|
|
||||||
|
|
||||||
|
|
||||||
weight_root = os.getenv("weight_root")
|
weight_root = os.getenv("weight_root")
|
||||||
weight_uvr5_root = os.getenv("weight_uvr5_root")
|
weight_uvr5_root = os.getenv("weight_uvr5_root")
|
||||||
index_root = os.getenv("index_root")
|
index_root = os.getenv("index_root")
|
||||||
@ -1609,9 +1599,10 @@ with gr.Blocks(title="RVC WebUI") as app:
|
|||||||
gr.Markdown(traceback.format_exc())
|
gr.Markdown(traceback.format_exc())
|
||||||
|
|
||||||
if config.iscolab:
|
if config.iscolab:
|
||||||
app.queue(concurrency_count=511, max_size=1022).launch(share=True)
|
app.queue(max_size=1022).launch(share=True, max_threads=511)
|
||||||
else:
|
else:
|
||||||
app.queue(concurrency_count=511, max_size=1022).launch(
|
app.queue(max_size=1022).launch(
|
||||||
|
max_threads=511,
|
||||||
server_name="0.0.0.0",
|
server_name="0.0.0.0",
|
||||||
inbrowser=not config.noautoopen,
|
inbrowser=not config.noautoopen,
|
||||||
server_port=config.listen_port,
|
server_port=config.listen_port,
|
||||||
|
@ -7,7 +7,7 @@ librosa==0.9.1
|
|||||||
llvmlite==0.39.0
|
llvmlite==0.39.0
|
||||||
fairseq==0.12.2
|
fairseq==0.12.2
|
||||||
faiss-cpu==1.7.3
|
faiss-cpu==1.7.3
|
||||||
gradio==3.34.0
|
gradio==4.23.0
|
||||||
Cython
|
Cython
|
||||||
pydub>=0.25.1
|
pydub>=0.25.1
|
||||||
soundfile>=0.12.1
|
soundfile>=0.12.1
|
||||||
@ -42,7 +42,7 @@ httpx
|
|||||||
onnxruntime
|
onnxruntime
|
||||||
onnxruntime-gpu
|
onnxruntime-gpu
|
||||||
torchcrepe==0.0.20
|
torchcrepe==0.0.20
|
||||||
fastapi==0.88
|
fastapi
|
||||||
ffmpy==0.3.1
|
ffmpy==0.3.1
|
||||||
python-dotenv>=1.0.0
|
python-dotenv>=1.0.0
|
||||||
av
|
av
|
||||||
|
@ -6,7 +6,7 @@ librosa==0.9.1
|
|||||||
llvmlite==0.39.0
|
llvmlite==0.39.0
|
||||||
fairseq==0.12.2
|
fairseq==0.12.2
|
||||||
faiss-cpu==1.7.3
|
faiss-cpu==1.7.3
|
||||||
gradio==3.34.0
|
gradio==4.23.0
|
||||||
Cython
|
Cython
|
||||||
pydub>=0.25.1
|
pydub>=0.25.1
|
||||||
soundfile>=0.12.1
|
soundfile>=0.12.1
|
||||||
@ -40,7 +40,7 @@ pyworld==0.3.2
|
|||||||
httpx
|
httpx
|
||||||
onnxruntime-directml
|
onnxruntime-directml
|
||||||
torchcrepe==0.0.20
|
torchcrepe==0.0.20
|
||||||
fastapi==0.88
|
fastapi
|
||||||
ffmpy==0.3.1
|
ffmpy==0.3.1
|
||||||
python-dotenv>=1.0.0
|
python-dotenv>=1.0.0
|
||||||
av
|
av
|
||||||
|
@ -11,7 +11,7 @@ librosa==0.9.1
|
|||||||
llvmlite==0.39.0
|
llvmlite==0.39.0
|
||||||
fairseq==0.12.2
|
fairseq==0.12.2
|
||||||
faiss-cpu==1.7.3
|
faiss-cpu==1.7.3
|
||||||
gradio==3.34.0
|
gradio==4.23.0
|
||||||
Cython
|
Cython
|
||||||
pydub>=0.25.1
|
pydub>=0.25.1
|
||||||
soundfile>=0.12.1
|
soundfile>=0.12.1
|
||||||
@ -46,7 +46,7 @@ httpx
|
|||||||
onnxruntime; sys_platform == 'darwin'
|
onnxruntime; sys_platform == 'darwin'
|
||||||
onnxruntime-gpu; sys_platform != 'darwin'
|
onnxruntime-gpu; sys_platform != 'darwin'
|
||||||
torchcrepe==0.0.20
|
torchcrepe==0.0.20
|
||||||
fastapi==0.88
|
fastapi
|
||||||
ffmpy==0.3.1
|
ffmpy==0.3.1
|
||||||
python-dotenv>=1.0.0
|
python-dotenv>=1.0.0
|
||||||
av
|
av
|
||||||
|
@ -6,7 +6,7 @@ librosa==0.9.1
|
|||||||
llvmlite
|
llvmlite
|
||||||
fairseq @ git+https://github.com/One-sixth/fairseq.git
|
fairseq @ git+https://github.com/One-sixth/fairseq.git
|
||||||
faiss-cpu
|
faiss-cpu
|
||||||
gradio==3.34.0
|
gradio==4.23.0
|
||||||
Cython
|
Cython
|
||||||
pydub>=0.25.1
|
pydub>=0.25.1
|
||||||
soundfile>=0.12.1
|
soundfile>=0.12.1
|
||||||
@ -41,7 +41,7 @@ httpx
|
|||||||
onnxruntime; sys_platform == 'darwin'
|
onnxruntime; sys_platform == 'darwin'
|
||||||
onnxruntime-gpu; sys_platform != 'darwin'
|
onnxruntime-gpu; sys_platform != 'darwin'
|
||||||
torchcrepe==0.0.20
|
torchcrepe==0.0.20
|
||||||
fastapi==0.88
|
fastapi
|
||||||
torchfcpe
|
torchfcpe
|
||||||
ffmpy==0.3.1
|
ffmpy==0.3.1
|
||||||
python-dotenv>=1.0.0
|
python-dotenv>=1.0.0
|
||||||
|
@ -6,7 +6,7 @@ librosa==0.9.1
|
|||||||
llvmlite
|
llvmlite
|
||||||
fairseq
|
fairseq
|
||||||
faiss-cpu
|
faiss-cpu
|
||||||
gradio==3.34.0
|
gradio==4.23.0
|
||||||
Cython
|
Cython
|
||||||
pydub>=0.25.1
|
pydub>=0.25.1
|
||||||
soundfile>=0.12.1
|
soundfile>=0.12.1
|
||||||
@ -41,7 +41,7 @@ httpx
|
|||||||
onnxruntime; sys_platform == 'darwin'
|
onnxruntime; sys_platform == 'darwin'
|
||||||
onnxruntime-gpu; sys_platform != 'darwin'
|
onnxruntime-gpu; sys_platform != 'darwin'
|
||||||
torchcrepe==0.0.20
|
torchcrepe==0.0.20
|
||||||
fastapi==0.88
|
fastapi
|
||||||
torchfcpe
|
torchfcpe
|
||||||
ffmpy==0.3.1
|
ffmpy==0.3.1
|
||||||
python-dotenv>=1.0.0
|
python-dotenv>=1.0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user