0

Pythonに関してはほぼ初学者です。
動画などの音声を文字起こしするアプリケーションWhisper speaker diarizationをGoogle Colaboratry上で導入したいのですが最後のpyファイルの実行だけが上手く行きません。その手前のコードまではうまく出来ています。

一番最後の行が正直なところ良く分かっていないのでご享受いただければ幸いです。

https://self-development.info/whisper%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9F%E8%A9%B1%E8%80%85%E5%88%86%E9%9B%A2%E3%82%A2%E3%83%97%E3%83%AA%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB/

このサイトを参考にしています

!pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
 
!pip install fasttext
 
!pip install huggingface-hub
 
from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="vumichien/whisper-speaker-diarization",
    repo_type="space",
    revision="main",
    cache_dir="./")

!pip install -r /content/spaces--vumichien--whisper-speaker-diarization/snapshots/97ff720b68a068cb3092b5dcb7319ea09a580478/requirements.txt

import /content/spaces--vumichien--whisper-speaker-diarization/snapshots/97ff720b68a068cb3092b5dcb7319ea09a580478/app.py

0

この質問に回答するには、ログインする必要があります。

のタグが付いた他の質問を参照する。