This commit is contained in:
yumoqing 2024-09-04 20:01:04 +08:00
parent a4cfb92dfc
commit bb0782fa66

View File

@ -8,6 +8,7 @@ from appPublic.dictObject import DictObject
from appPublic.folderUtils import temp_file
from ahserver.serverenv import ServerEnv
from aiohttp.web import StreamResponse
from ahserver.globalEnv import realpath
def save_base64_wav(base64_data, output_file,sample_rate=16000, num_channels=1):
# Decode the base64 data