From af1c8f7d0c2940b1b5e55167ad23df3de0d22b22 Mon Sep 17 00:00:00 2001 From: Orzman <32257056+benknam@users.noreply.github.com> Date: Sun, 19 Jan 2025 20:30:46 +0800 Subject: [PATCH] fix: missing module name "tools.audio" (#880) fix #736 fix #820 fix #844 --- examples/web/funcs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/web/funcs.py b/examples/web/funcs.py index ee47067..4d99cca 100644 --- a/examples/web/funcs.py +++ b/examples/web/funcs.py @@ -4,6 +4,10 @@ from time import sleep import gradio as gr +import sys + +sys.path.append("..") +sys.path.append("../..") from tools.audio import float_to_int16, has_ffmpeg_installed, load_audio from tools.logger import get_logger