File size: 697 Bytes
6d69363 973bb39 f1f5157 ae3aeed e3532f0 d0d39bc ae3aeed 07630c7 36bc51d 33e40de 3a161c0 973bb39 f1f5157 973bb39 f1f5157 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import transformers
from transformers import pipeline
import gradio as gr
import pandas
# import matplotlib.pyplot as plt
import os
import sys
os.system('python -m pip install --upgrade pip')
# os.system('pip install -U scikit-learn scipy matplotlib')
os.system("pip install git+https://github.com/openai/whisper.git")
import whisper
# os.system("pip install numpy==1.20.0")
# os.system("pip install numba==0.53")
# os.system("python -c import numba==0.53")
whisper_esc50 = pipeline(model="mskov/whisper_esc50")
whisper_miso= pipeline(model="mskov/whisper_miso")
whisper_tiny = whisper.load_model("tiny")
whisper_base = whisper.load_model("base")
dataset = load_dataset("mskov/miso_test")
|