zackees / transcribe-anything

Input a local file or url and this service will transcribe it using Whisper AI. Completely private and Free 🤯🤯🤯
MIT License
419 stars 34 forks source link

Trouble running when it tries to install torch. #16

Closed fivestones closed 5 months ago

fivestones commented 5 months ago

Here is the error I get:

Running: pip install torch==2.1.2
ERROR: Could not find a version that satisfies the requirement torch==2.1.2 (from versions: 2.2.0)
ERROR: No matching distribution found for torch==2.1.2

I'm on MacOS on a M2 mac, with python version 3.10.10

zackees commented 5 months ago

Are you running the --device cuda or --device cpu by any chance?

darioZIP commented 5 months ago

Hello, I get exactly the same problem. Tried both CPU mode and with -device insane. I'm on Windows 10 x64, Python version 3.12

fivestones commented 5 months ago

Are you running the --device cuda or --device cpu by any chance?

No, I was doing --device insane but didn't try those others.

zackees commented 5 months ago

Ahh... it's python 3.12. Yeah sorry, the whisper backend don't work with python 3.12. I'll add a warning so that users don't get confused.

zackees commented 5 months ago

Okay I added the warning and pushed a new version. Upgrade to get the warning.