saharmor / whisper-playground

Build real time speech2text web apps using OpenAI's Whisper https://openai.com/blog/whisper/
MIT License
777 stars 140 forks source link

The backend is not available on Windows. #30

Closed Epresin closed 1 year ago

Epresin commented 1 year ago
(whisper) D:\>cd whisper

(whisper) D:\whisper>cd whisper-playground

(whisper) D:\whisper\whisper-playground>cd backend

(whisper) D:\whisper\whisper-playground\backend>python server.py
The torchaudio backend is switched to 'soundfile'. Note that 'sox_io' is not supported on Windows.
The torchaudio backend is switched to 'soundfile'. Note that 'sox_io' is not supported on Windows.
Traceback (most recent call last):
  File "D:\whisper\whisper-playground\backend\server.py", line 5, in <module>
    from backend.client_manager import ClientManager
ModuleNotFoundError: No module named 'backend'

I'm not sure if it's due to the runtime environment.

ethanzrd commented 1 year ago

Hey @Epresin, this should fix it! Could you let me know if the issue is resolved on your end?

Epresin commented 1 year ago

Hey @Epresin, this should fix it! Could you let me know if the issue is resolved on your end?

After I cloned the latest repository, the backend was able to run normally. Thank you.