mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-27 19:29:19 +00:00
implement noise reduction based on DeepFilterNet3
This commit is contained in:
@@ -101,6 +101,15 @@ export default ({
|
||||
key: fs.readFileSync("./backend/dev_tls_m.localhost.key"),
|
||||
cert: fs.readFileSync("./backend/dev_tls_m.localhost.crt"),
|
||||
},
|
||||
proxy: {
|
||||
// Proxy for DeepFilterNet3 assets to avoid CORS issues during development
|
||||
"/assets/deepfilternet3": {
|
||||
target: "https://cdn.mezon.ai/AI/models/datas/noise_suppression/deepfilternet3",
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/assets\/deepfilternet3/, ""),
|
||||
secure: false, // Allow self-signed certs in development
|
||||
},
|
||||
},
|
||||
},
|
||||
worker: {
|
||||
format: "es",
|
||||
|
||||
Reference in New Issue
Block a user