This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import moviepy.editor as mp | |
from pydub import AudioSegment | |
from vosk import Model, KaldiRecognizer | |
import wave | |
name_of_file = input('название файла: ') | |
files = f'{name_of_file}.txt' | |
video = name_of_file |