Skip to content

Commit af1c8f7

Browse files
authored
fix: missing module name "tools.audio" (#880)
fix #736 fix #820 fix #844
1 parent b5e452e commit af1c8f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/web/funcs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
import gradio as gr
66

7+
import sys
8+
9+
sys.path.append("..")
10+
sys.path.append("../..")
711
from tools.audio import float_to_int16, has_ffmpeg_installed, load_audio
812
from tools.logger import get_logger
913

0 commit comments

Comments
 (0)