From 3df109adfccedeb134dea4ba2ea9a2da89872048 Mon Sep 17 00:00:00 2001
From: Isuxiz Slidder <48672727+Isuxiz@users.noreply.github.com>
Date: 星期一, 31 三月 2025 17:51:52 +0800
Subject: [PATCH] Update model.py to fix "IndexError: index 1 is out of bounds for dimension 1 with size 0" (#2454)

---
 fun_text_processing/text_normalization/de/utils.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/fun_text_processing/text_normalization/de/utils.py b/fun_text_processing/text_normalization/de/utils.py
index e233075..1a1f30f 100644
--- a/fun_text_processing/text_normalization/de/utils.py
+++ b/fun_text_processing/text_normalization/de/utils.py
@@ -1,4 +1,3 @@
-
 import csv
 import os
 
@@ -11,13 +10,13 @@
 
     Args:
         rel_path: relative path to this file
-        
+
     Returns absolute path
     """
     abs_path = os.path.dirname(os.path.abspath(__file__)) + os.sep + rel_path
 
     if not os.path.exists(abs_path):
-        logging.warning(f'{abs_path} does not exist')
+        logging.warning(f"{abs_path} does not exist")
     return abs_path
 
 

--
Gitblit v1.9.1