I've installed it as in the readme.
I created the audioldmenvironment as prompted and installed gardioin it, but when I execute "(audioldm) D:audioldm2>python app.py", I get the following error.
Traceback (most recent call last): File "app.py", line 5, in <module> import gradio as gr File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\__init__.py", line 3, in <module> import gradio._simple_templates File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\_simple_templates\__init__.py", line 1, in <module> from .simpledropdown import SimpleDropdown File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\_simple_templates\simpledropdown.py", line 6, in <module> from gradio.components.base import FormComponent File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\components\__init__.py", line 3, in <module> from gradio.components.bar_plot import BarPlot File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\components\bar_plot.py", line 7, in <module> import altair as alt File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\__init__.py", line 620, in <module> from .vegalite import * File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\vegalite\__init__.py", line 2, in <module> from .v5 import * File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\vegalite\v5\__init__.py", line 2, in <module> from .schema import * File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\vegalite\v5\schema\__init__.py", line 3, in <module> from .core import * File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\vegalite\v5\schema\core.py", line 7, in <module> from altair.utils.schemapi import SchemaBase, Undefined, UndefinedType, _subclasses File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\utils\__init__.py", line 1, in <module> from .core import ( File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\utils\core.py", line 27, in <module> import pandas as pd File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\__init__.py", line 22, in <module> from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401 File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\compat\__init__.py", line 25, in <module> from pandas.compat.numpy import ( File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\compat\numpy\__init__.py", line 4, in <module> from pandas.util.version import Version ModuleNotFoundError: No module named 'pandas.util'
Then I ran "(audioldm) D:audioldm2>audioldm2 -t "Musical constellations twinkling in the night sky, forming a cosmic melody."" , and then the following error appeared.
Traceback (most recent call last): File "C:\ProgramData\anaconda3\envs\audioldm\lib\runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "C:\ProgramData\anaconda3\envs\audioldm\lib\runpy.py", line 144, in _get_module_details return _get_module_details(pkg_main_name, error) File "C:\ProgramData\anaconda3\envs\audioldm\lib\runpy.py", line 111, in _get_module_details __import__(pkg_name) File "D:\audioldm2\audioldm2\__init__.py", line 2, in <module> from .pipeline import * File "D:\audioldm2\audioldm2\pipeline.py", line 9, in <module> from audioldm2.latent_diffusion.models.ddpm import LatentDiffusion File "D:\audioldm2\audioldm2\latent_diffusion\models\ddpm.py", line 12, in <module> from audioldm2.latent_diffusion.modules.encoders.modules import * File "D:\audioldm2\audioldm2\latent_diffusion\modules\encoders\modules.py", line 5, in <module> from audioldm2.clap.training.data import get_audio_features File "D:\audioldm2\audioldm2\clap\training\data.py", line 7, in <module> import pandas as pd File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\__init__.py", line 22, in <module> from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401 File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\compat\__init__.py", line 25, in <module> from pandas.compat.numpy import ( File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\compat\numpy\__init__.py", line 4, in <module> from pandas.util.version import Version ModuleNotFoundError: No module named 'pandas.util'
I've installed it as in the
readme
. I created theaudioldm
environment as prompted and installedgardio
in it, but when I execute "(audioldm) D:audioldm2>python app.py
", I get the following error.Traceback (most recent call last): File "app.py", line 5, in <module> import gradio as gr File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\__init__.py", line 3, in <module> import gradio._simple_templates File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\_simple_templates\__init__.py", line 1, in <module> from .simpledropdown import SimpleDropdown File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\_simple_templates\simpledropdown.py", line 6, in <module> from gradio.components.base import FormComponent File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\components\__init__.py", line 3, in <module> from gradio.components.bar_plot import BarPlot File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\gradio\components\bar_plot.py", line 7, in <module> import altair as alt File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\__init__.py", line 620, in <module> from .vegalite import * File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\vegalite\__init__.py", line 2, in <module> from .v5 import * File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\vegalite\v5\__init__.py", line 2, in <module> from .schema import * File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\vegalite\v5\schema\__init__.py", line 3, in <module> from .core import * File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\vegalite\v5\schema\core.py", line 7, in <module> from altair.utils.schemapi import SchemaBase, Undefined, UndefinedType, _subclasses File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\utils\__init__.py", line 1, in <module> from .core import ( File "C:\ProgramData\anaconda3\envs\audioldm\lib\site-packages\altair\utils\core.py", line 27, in <module> import pandas as pd File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\__init__.py", line 22, in <module> from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401 File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\compat\__init__.py", line 25, in <module> from pandas.compat.numpy import ( File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\compat\numpy\__init__.py", line 4, in <module> from pandas.util.version import Version ModuleNotFoundError: No module named 'pandas.util'
Then I ran "
(audioldm) D:audioldm2>audioldm2 -t "Musical constellations twinkling in the night sky, forming a cosmic melody."
" , and then the following error appeared.Traceback (most recent call last): File "C:\ProgramData\anaconda3\envs\audioldm\lib\runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "C:\ProgramData\anaconda3\envs\audioldm\lib\runpy.py", line 144, in _get_module_details return _get_module_details(pkg_main_name, error) File "C:\ProgramData\anaconda3\envs\audioldm\lib\runpy.py", line 111, in _get_module_details __import__(pkg_name) File "D:\audioldm2\audioldm2\__init__.py", line 2, in <module> from .pipeline import * File "D:\audioldm2\audioldm2\pipeline.py", line 9, in <module> from audioldm2.latent_diffusion.models.ddpm import LatentDiffusion File "D:\audioldm2\audioldm2\latent_diffusion\models\ddpm.py", line 12, in <module> from audioldm2.latent_diffusion.modules.encoders.modules import * File "D:\audioldm2\audioldm2\latent_diffusion\modules\encoders\modules.py", line 5, in <module> from audioldm2.clap.training.data import get_audio_features File "D:\audioldm2\audioldm2\clap\training\data.py", line 7, in <module> import pandas as pd File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\__init__.py", line 22, in <module> from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401 File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\compat\__init__.py", line 25, in <module> from pandas.compat.numpy import ( File "C:\Users\Road\AppData\Roaming\Python\Python38\site-packages\pandas\compat\numpy\__init__.py", line 4, in <module> from pandas.util.version import Version ModuleNotFoundError: No module named 'pandas.util'