rm notebook && add audio path

pull/3900/head
drryanhuang 8 months ago
parent b671f2b6e9
commit e1284ba6c2

@ -94,23 +94,3 @@ def audio_table(
output = "\n" + "\n".join(output)
return output
def in_notebook():
"""Determines if code is running in a notebook.
Returns
-------
bool
Whether or not this is running in a notebook.
"""
try:
from IPython import get_ipython
if "IPKernelApp" not in get_ipython().config:
return False
except ImportError:
return False
except AttributeError:
return False
return True

@ -1,4 +1,5 @@
python -m pip install -r ../../audiotools/requirements.txt
export PYTHONPATH=$PYTHONPATH:$(realpath ../../..)
wget https://paddlespeech.bj.bcebos.com/PaddleAudio/audio_tools/audio.tar.gz
wget https://paddlespeech.bj.bcebos.com/PaddleAudio/audio_tools/regression.tar.gz
tar -zxvf audio.tar.gz

Loading…
Cancel
Save