Plachtaa / VALL-E-X

An open source implementation of Microsoft's VALL-E X zero-shot TTS model. Demo is available in https://plachtaa.github.io
MIT License
7.42k stars 747 forks source link

run show Audio.__init__() got an unexpected keyword argument 'source'? #136

Open BoragoCode opened 8 months ago

BoragoCode commented 8 months ago

(py310_asrtts) root@iZuf6f62zjps99tce8voxpZ:/opt/wdd/model/VALL-E-X# python launch-ui.py default encoding is utf-8,file system encoding is utf-8 You are using Python version 3.10.13 /root/anaconda3/envs/py310_asrtts/lib/python3.10/site-packages/whisper/timing.py:57: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. def backtrace(trace: np.ndarray): Use 16 cpu cores for computing 100%|█████████████████████████████████████| 1.42G/1.42G [02:15<00:00, 11.3MiB/s] Traceback (most recent call last): File "/opt/wdd/model/VALL-E-X/launch-ui.py", line 629, in main() File "/opt/wdd/model/VALL-E-X/launch-ui.py", line 528, in main upload_audio_prompt = gr.Audio(label='uploaded audio prompt', source='upload', interactive=True) File "/root/anaconda3/envs/py310_asrtts/lib/python3.10/site-packages/gradio/component_meta.py", line 146, in wrapper return fn(self, **kwargs) TypeError: Audio.init() got an unexpected keyword argument 'source'

environment:py31.0

Plachtaa commented 8 months ago

132