txya900619
commited on
Commit
·
833a2c4
1
Parent(s):
8d4c17d
fix: change to formosan punc
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def automatic_speech_recognition(model_id: str, dialect_id: str, audio_data: str
|
|
51 |
if len(result["text"]) > 0:
|
52 |
filtered_lines.append(result["text"])
|
53 |
|
54 |
-
return "
|
55 |
|
56 |
|
57 |
def when_model_selected(model_id: str):
|
|
|
51 |
if len(result["text"]) > 0:
|
52 |
filtered_lines.append(result["text"])
|
53 |
|
54 |
+
return ", ".join(filtered_lines) + "."
|
55 |
|
56 |
|
57 |
def when_model_selected(model_id: str):
|