Vaibhavs10 / insanely-fast-whisper

Apache License 2.0
7.74k stars 545 forks source link

How do I use diarisation? --hf_token isn't a recognized command anymore? #100

Closed mikus234 closed 11 months ago

mikus234 commented 11 months ago

How do I use diarisation? --hf_token isn't a recognized command anymore? Thanks in advance.

Vaibhavs10 commented 11 months ago

Hey @mikus234 - you need to be on the latest version of the insanely-fast-whisper to use it!

pipx install insanely-fast-whisper==0.0.10

mikus234 commented 11 months ago

I just installed it today for the first time. I tried running your command tho:

PS C:\Windows\system32> pipx install insanely-fast-whisper==0.0.10 --force Installing to existing venv 'insanely-fast-whisper' Fatal error from pip prevented installation. Full pip output in file: C:\Users\12039.local\pipx\logs\cmd_2023-12-01_18.26.49_pip_errors.log

Some possibly relevant errors from pip install: ERROR: Ignored the following versions that require a different python version: 0.0.10 Requires-Python <=3.11,>=3.8; 0.0.9 Requires-Python <=3.11,>=3.8 ERROR: Could not find a version that satisfies the requirement insanely-fast-whisper==0.0.10 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5b0, 0.0.5b1, 0.0.5b2, 0.0.5b3, 0.0.5, 0.0.6, 0.0.7, 0.0.8) ERROR: No matching distribution found for insanely-fast-whisper==0.0.10

Vaibhavs10 commented 11 months ago

Weird. Can you try and run pipx uninstall insanely-fast-whisper and then follow that up with pipx install insanely-fast-whisper --python python3.11?

mikus234 commented 11 months ago

FileNotFoundError: [WinError 2] The system cannot find the file specified

python --version gives 3.11.3

so I guess I need to roll back to 3.11?

Reinstalled again and got:

installed package insanely-fast-whisper 0.0.8, installed using Python 3.11.3

Vaibhavs10 commented 11 months ago

I'm not sure what's wrong here tbh and honestly don't have much experience with Windows.

I suggest rolling back to 3.10 and then testing it?

Cc: @patrick91 - have you encountered something like this?

mikus234 commented 11 months ago

I'll live with it for now, thanks for the help

souvikqb commented 11 months ago

@mikus234 This API provides Diarization output with Whisper-v3 - https://developer.monsterapi.ai/reference/post_generate-speech2text-v2

llj0824 commented 8 months ago

I'm getting the same issue right now:

Current python version = 3.11.5

(base) leojiang@bogon interview_to_deepdiveArticle % python --version
Python 3.11.5

Downloading latest version insanely-fast-whisper version insanely-fast-whisper versions >= 0.0.10 are being filter because python version requirement

(base) leojiang@bogon interview_to_deepdiveArticle % pipx install insanely-fast-whisper==0.0.13 --force
Fatal error from pip prevented installation. Full pip output in file:

Some possibly relevant errors from pip install:
    ERROR: Ignored the following versions that require a different python version: 0.0.10 Requires-Python <=3.11,>=3.8; 0.0.11 Requires-Python <=3.11,>=3.8; 0.0.12 Requires-Python <=3.11,>=3.8; 0.0.13 Requires-Python <=3.11,>=3.8; 0.0.9 Requires-Python <=3.11,>=3.8
    ERROR: Could not find a version that satisfies the requirement insanely-fast-whisper==0.0.13 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5b0, 0.0.5b1, 0.0.5b2, 0.0.5b3, 0.0.5, 0.0.6, 0.0.7, 0.0.8)
    ERROR: No matching distribution found for insanely-fast-whisper==0.0.13

Error installing insanely-fast-whisper from spec 'insanely-fast-whisper==0.0.13'.

Fix: pipx install insanely-fast-whisper==0.0.13 --force --pip-args="--ignore-requires-python"

Root cause likely explained in this thread

The fix command is detailed in this other thread