Little help

#1
by theNeofr - opened

Hey @John6666 can you help me fix the code?

What fix?

In process_audio.

Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/gradio/queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/dist-packages/gradio/route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1935, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1520, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 826, in wrapper
response = f(*args, **kwargs)
File "", line 68, in process_audio
inferred_audio = infer_audio(
TypeError: infer_audio() got an unexpected keyword argument 'MODEL_NAME

First of all, there was a lie in the github library manual...๐Ÿ˜ญ

This is not very easy to understand.
Next, there is no model file. I didn't know where to find it. I made a few other modifications besides the model file.
https://huggingface.co/spaces/theNeofr/rvc_inferpy/discussions/2

Thanks

theNeofr changed discussion status to closed

Sign up or log in to comment