From bd9e63063f7cf6cd5f61d8633472fdd4b63484be Mon Sep 17 00:00:00 2001
From: szsteven008 <97944818+szsteven008@users.noreply.github.com>
Date: 星期二, 28 五月 2024 11:03:56 +0800
Subject: [PATCH] 修复了onnxruntime在macos下编译失败的错误 (#1748)
---
fun_text_processing/inverse_text_normalization/es/utils.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/fun_text_processing/inverse_text_normalization/es/utils.py b/fun_text_processing/inverse_text_normalization/es/utils.py
index 9cbd175..c6fdb74 100644
--- a/fun_text_processing/inverse_text_normalization/es/utils.py
+++ b/fun_text_processing/inverse_text_normalization/es/utils.py
@@ -1,4 +1,3 @@
-
import os
@@ -8,7 +7,7 @@
Args:
rel_path: relative path to this file
-
+
Returns absolute path
"""
- return os.path.dirname(os.path.abspath(__file__)) + '/' + rel_path
+ return os.path.dirname(os.path.abspath(__file__)) + "/" + rel_path
--
Gitblit v1.9.1