Run gradio on local pc with Windows - get error

#33
by Mykee - opened

I installed the gradio on Windows 10. When I check the Cleanup Reference Voice option, I get this error:

Detected language:hu, Chosen language:hu
Traceback (most recent call last):
File "I:\TTS\venv\lib\site-packages\gradio\queueing.py", line 407, in call_prediction
output = await route_utils.call_process_api(
File "I:\TTS\venv\lib\site-packages\gradio\route_utils.py", line 226, in call_process_api
output = await app.get_blocks().process_api(
File "I:\TTS\venv\lib\site-packages\gradio\blocks.py", line 1550, in process_api
result = await self.call_function(
File "I:\TTS\venv\lib\site-packages\gradio\blocks.py", line 1185, in call_function
prediction = await anyio.to_thread.run_sync(
File "I:\TTS\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "I:\TTS\venv\lib\site-packages\anyio_backends_asyncio.py", line 2134, in run_sync_in_worker_thread
return await future
File "I:\TTS\venv\lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
File "I:\TTS\venv\lib\site-packages\gradio\utils.py", line 661, in wrapper
response = f(*args, **kwargs)
File "I:\TTS\app1.py", line 178, in predict
command_result = subprocess.run(
File "C:\Users\Mykee\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\Mykee\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Mykee\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1: no Win32 app

What and how do I need to change to use this option?

Sign up or log in to comment