Spaces:
Build error
Build error
Commit
·
fb4befa
1
Parent(s):
759346d
return result as it is
Browse files
model.py
CHANGED
|
@@ -75,7 +75,8 @@ def decode_offline_recognizer(
|
|
| 75 |
recognizer.decode_stream(s)
|
| 76 |
|
| 77 |
text = s.result.text.strip()
|
| 78 |
-
return text.lower()
|
|
|
|
| 79 |
|
| 80 |
|
| 81 |
def decode_online_recognizer(
|
|
|
|
| 75 |
recognizer.decode_stream(s)
|
| 76 |
|
| 77 |
text = s.result.text.strip()
|
| 78 |
+
# return text.lower()
|
| 79 |
+
return text
|
| 80 |
|
| 81 |
|
| 82 |
def decode_online_recognizer(
|