Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ replacements = [
|
|
70 |
("բ", "b"),
|
71 |
("գ", "g"),
|
72 |
("դ", "d"),
|
73 |
-
("զ",
|
74 |
("է", "e"),
|
75 |
("ը", "e'"),
|
76 |
("թ", "t'"),
|
@@ -147,7 +147,7 @@ def predict(text, speaker):
|
|
147 |
|
148 |
text = process_text(text)
|
149 |
|
150 |
-
text = cleanup_text(
|
151 |
|
152 |
inputs = processor(text=text, return_tensors="pt")
|
153 |
|
|
|
70 |
("բ", "b"),
|
71 |
("գ", "g"),
|
72 |
("դ", "d"),
|
73 |
+
("զ", "z"),
|
74 |
("է", "e"),
|
75 |
("ը", "e'"),
|
76 |
("թ", "t'"),
|
|
|
147 |
|
148 |
text = process_text(text)
|
149 |
|
150 |
+
text = cleanup_text(text)
|
151 |
|
152 |
inputs = processor(text=text, return_tensors="pt")
|
153 |
|