From 479913ddd58a43ce0a364df62ddbc8eba25d3f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stardust=C2=B7=E5=87=8F?= Date: Sat, 30 Sep 2023 20:35:00 +0800 Subject: [PATCH] Update __init__.py --- text/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/__init__.py b/text/__init__.py index 8dd10db04..8b3ed9d1c 100644 --- a/text/__init__.py +++ b/text/__init__.py @@ -1,5 +1,5 @@ from text.symbols import * - +import torch _symbol_to_id = {s: i for i, s in enumerate(symbols)}