👍️[Update] Model : warnings ignoreの場所を修正
This commit is contained in:
@@ -11,6 +11,8 @@ from .transcription_whisper import getWhisperModel, checkWhisperWeight
|
|||||||
import torch
|
import torch
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from pydub import AudioSegment
|
from pydub import AudioSegment
|
||||||
|
import warnings
|
||||||
|
warnings.simplefilter('ignore', RuntimeWarning)
|
||||||
|
|
||||||
PHRASE_TIMEOUT = 3
|
PHRASE_TIMEOUT = 3
|
||||||
MAX_PHRASES = 10
|
MAX_PHRASES = 10
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
import warnings
|
|
||||||
warnings.simplefilter('ignore', RuntimeWarning)
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
|
|||||||
Reference in New Issue
Block a user