Commit 6ca1e59e by chenxx

日志路径修改成通用

1 parent 38862d9e
......@@ -32,4 +32,5 @@ def setup_logging(log_file):
return logger
log=setup_logging('%s/funasr_temp.log' % "/app/soft/python_project/audio_dev/logs")
\ No newline at end of file
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + "/logs"
log=setup_logging('%s/funasr_temp.log' % base_dir)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!