mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
Fix issue when the audio stream mixes sample rates and numpy array data types (#188)
* Fix code * Fix * keep same
This commit is contained in:
@@ -2,11 +2,10 @@ import asyncio
|
||||
import base64
|
||||
import json
|
||||
from pathlib import Path
|
||||
import sounddevice as sd
|
||||
|
||||
import aiohttp # pip install aiohttp
|
||||
import gradio as gr
|
||||
import numpy as np
|
||||
import aiohttp # pip install aiohttp
|
||||
from dotenv import load_dotenv
|
||||
from fastapi import FastAPI
|
||||
from fastapi.responses import HTMLResponse, StreamingResponse
|
||||
|
||||
Reference in New Issue
Block a user