txya900619
commited on
Commit
·
c9a84d8
1
Parent(s):
833a2c4
fix: don't delete space
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def automatic_speech_recognition(model_id: str, dialect_id: str, audio_data: str
|
|
47 |
filtered_lines = []
|
48 |
|
49 |
for result in results:
|
50 |
-
result["text"] = result["text"]
|
51 |
if len(result["text"]) > 0:
|
52 |
filtered_lines.append(result["text"])
|
53 |
|
|
|
47 |
filtered_lines = []
|
48 |
|
49 |
for result in results:
|
50 |
+
result["text"] = result["text"]
|
51 |
if len(result["text"]) > 0:
|
52 |
filtered_lines.append(result["text"])
|
53 |
|