IAHispano / Applio

VITS-based Voice Conversion focused on simplicity, quality and performance.

Home Page:https://applio.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gradio Throwing Exception on fresh install

TripleOh7 opened this issue · comments

I copied this code straight from the API into VS Code and an exception is thrown.

Bug Description
"Gradio" throws an exception that stops the API from working.

Steps to Reproduce
Outline the steps to replicate the issue:
Take code from api
from gradio_client import Client

client = Client("http://127.0.0.1:6969/")
result = client.predict(
tts_text="Hello!!",
tts_voice="af-ZA-AdriNeural",
tts_rate=0,
f0up_key=0,
filter_radius=3,
index_rate=0.75,
rms_mix_rate=1,
protect=0.5,
hop_length=128,
f0method="rmvpe",
output_tts_path="C:\Users\brain\Documents\ApplioV3.2.0\assets\audios\tts_output.wav",
output_rvc_path="C:\Users\brain\Documents\ApplioV3.2.0\assets\audios\tts_rvc_output.wav",
pth_path=None,
index_path=None,
split_audio=False,
f0autotune=False,
clean_audio=True,
clean_strength=0.5,
export_format="WAV",
embedder_model="hubert",
upscale_audio=False,
api_name="/run_tts_script"
)
print(result)

My python installation is 3.11.9 if that means anything.

Expected Behavior
The info provided in the program works

Assets
image

Desktop Details:

  • Operating System: Windows 10
  • Browser: Unrelated

Additional Context
Full error:

PS C:\Users\brain\OneDrive\Documents\voiceassistant> & C:/Users/brain/AppData/Local/Programs/Python/Python311/python.exe "c:/Users/brain/OneDrive/Documents/voiceassistant/data for the api"
Loaded as API: http://127.0.0.1:6969/
Traceback (most recent call last):
File "c:\Users\brain\OneDrive\Documents\voiceassistant\data for the api", line 4, in
result = client.predict(
^^^^^^^^^^^^^^^
File "C:\Users\brain\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio_client\client.py", line 469, in predict
).result()
^^^^^^^^
File "C:\Users\brain\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio_client\client.py", line 1498, in result
return super().result(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\brain\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\brain\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures_base.py", line 401, in __get_result
raise self._exception
File "C:\Users\brain\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\brain\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio_client\client.py", line 1116, in _inner
predictions = _predict(*data)
^^^^^^^^^^^^^^^
File "C:\Users\brain\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio_client\client.py", line 1227, in _predict
raise AppError(
gradio_client.exceptions.AppError: The upstream Gradio app has raised an exception but has not enabled verbose error reporting. To enable, set
show_error=True in launch().
PS C:\Users\brain\OneDrive\Documents\voiceassistant>