ddemszky
commited on
Commit
•
1fbd45a
1
Parent(s):
7800c33
add custom handler
Browse files- requirements.txt +1 -1
- test.py +1 -1
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
num2words==0.5.10
|
3 |
scipy==1.7.3
|
4 |
torch==1.10.2
|
|
|
1 |
+
clean-text==0.6.0
|
2 |
num2words==0.5.10
|
3 |
scipy==1.7.3
|
4 |
torch==1.10.2
|
test.py
CHANGED
@@ -8,7 +8,7 @@ example = {"inputs": [{"speaker_A": "I am quite excited how this will turn out",
|
|
8 |
"speaker_B": "I'm excited, too"}],
|
9 |
"parameters": {"speaker_A": "speaker_A",
|
10 |
"speaker_B": "speaker_B",
|
11 |
-
"student_min_words": 5
|
12 |
}}
|
13 |
|
14 |
# test the handler
|
|
|
8 |
"speaker_B": "I'm excited, too"}],
|
9 |
"parameters": {"speaker_A": "speaker_A",
|
10 |
"speaker_B": "speaker_B",
|
11 |
+
"student_min_words": 5
|
12 |
}}
|
13 |
|
14 |
# test the handler
|