Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wmdigit_video_cut
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
wmdigit_video_cut
Commits
b27d52ec
Commit
b27d52ec
authored
Nov 09, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
5f516671
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wmdigit_transcribe.py
app/video_cut/autocut/wmdigit_transcribe.py
+2
-2
No files found.
app/video_cut/autocut/wmdigit_transcribe.py
View file @
b27d52ec
...
@@ -12,10 +12,10 @@ from .type import WhisperMode, SPEECH_ARRAY_INDEX
...
@@ -12,10 +12,10 @@ from .type import WhisperMode, SPEECH_ARRAY_INDEX
class
Transcribe
:
class
Transcribe
:
def
__init__
(
self
,
args
,
model
):
def
__init__
(
self
,
args
):
self
.
args
=
args
self
.
args
=
args
self
.
sampling_rate
=
16000
self
.
sampling_rate
=
16000
self
.
whisper_model
=
model
self
.
whisper_model
=
None
self
.
vad_model
=
None
self
.
vad_model
=
None
self
.
detect_speech
=
None
self
.
detect_speech
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment