Open Jiraxys opened 1 year ago
@Jiraxys Hi thanks for reporting this. I'll look into it now.
@Jiraxys Hi now the issue should be fixed. Please re-clone this project and try again. Thanks!
@haoheliu thanks a lot, seems to be working. however i think there is something wrong with the UI, it seems to be all black and when im pressing the invisible play button nothing happens. there is an error when looing at source element:
(i think i posted this somewhere else too, sorry if its not related to that place) Hello, when running app.py, i get a large error, not sure what to do. error:
FutureWarning: Pass size=1024 as keyword args. From version 0.10 passing these as positional arguments will result in an error fft_window = librosa.util.pad_center(fft_window, n_fft) C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:3191.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] Some weights of the model checkpoint at roberta-base were not used when initializing RobertaModel: ['lm_head.dense.bias', 'lm_head.bias', 'lm_head.dense.weight', 'lm_head.layer_norm.weight', 'lm_head.layer_norm.bias']
raise return_result File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\fsspec\asyn.py", line 54, in _runner
result[0] = await coro File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\gradio\helpers.py", line 273, in create await self.cache() File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\gradio\helpers.py", line 308, in cache
prediction = await Context.root_block.process_api( File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\gradio\blocks.py", line 1015, in process_api result = await self.call_function( File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\gradio\blocks.py", line 833, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) File "c:/Users/anedi/Desktop/audioldm/AudioLDM/app.py", line 30, in text2audio waveform = text_to_audio( File "c:\Users\anedi\Desktop\audioldm\AudioLDM\audioldm\pipeline.py", line 115, in text_to_audio waveform = read_wav_file(original_audio_file_path, int(duration 102.4) 160) File "c:\Users\anedi\Desktop\audioldm\AudioLDM\audioldm\audio\tools.py", line 55, in read_wav_file waveform, sr = torchaudio.load(filename) # Faster!!! File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\torchaudio\backend\soundfilebackend.py", line 205, in load with soundfile.SoundFile(filepath, "r") as file: File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\soundfile.py", line 655, in init
self._file = self._open(file, mode_int, closefd) File "C:\Users\anedi\AppData\Local\Programs\Python\Python38\lib\site-packages\soundfile.py", line 1209, in _open
raise TypeError("Invalid file: {0!r}".format(self.name)) TypeError: Invalid file: 45.0