Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WinError 2] The system cannot find the file specified #127

Open
JEONGHA-SHIN opened this issue Apr 2, 2024 · 1 comment
Open

[WinError 2] The system cannot find the file specified #127

JEONGHA-SHIN opened this issue Apr 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JEONGHA-SHIN
Copy link

- OS: Windows 10
I am facing the following error. It's difficult to figure out what the problem is.
I would really appreciate it if you could tell me the solution.

Error transcribing file: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
File "D:\Dev\Whisper-WebUI\venv\Lib\site-packages\gradio\queueing.py", line 495, in call_prediction
output = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Dev\Whisper-WebUI\venv\Lib\site-packages\gradio\route_utils.py", line 232, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Dev\Whisper-WebUI\venv\Lib\site-packages\gradio\blocks.py", line 1570, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Dev\Whisper-WebUI\venv\Lib\site-packages\gradio\blocks.py", line 1397, in postprocess_data
self.validate_outputs(fn_index, predictions) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Dev\Whisper-WebUI\venv\Lib\site-packages\gradio\blocks.py", line 1371, in validate_outputs
raise ValueError(
ValueError: An event handler (transcribe_file) didn't receive enough output values (needed: 2, received: 1).
Wanted outputs:
[textbox, file]
Received outputs:
[None]

@JEONGHA-SHIN JEONGHA-SHIN added the bug Something isn't working label Apr 2, 2024
@jhj0517
Copy link
Owner

jhj0517 commented Apr 2, 2024

Hi, According to gradio #2986, it seems that some JavaScript is problematic on your browser to run gradio .
To fix this,

  1. Disable All Chrome Extensions : some extensions may contain problematic JavaScript

or simply

  1. Use a Different Browser: If you're using Chrome, try different browser, such as Edge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants