Shuwei Hou
commited on
Commit
·
988475c
1
Parent(s):
2652b5a
remove_syllable
Browse files- main_socket.py +1 -1
main_socket.py
CHANGED
|
@@ -71,7 +71,7 @@ def process_audio():
|
|
| 71 |
# annotate_transcript(session_id)
|
| 72 |
|
| 73 |
|
| 74 |
-
json_path = f"
|
| 75 |
if not os.path.isfile(json_path):
|
| 76 |
return jsonify({'error': f"Annotation file {json_path} not found"}), 500
|
| 77 |
|
|
|
|
| 71 |
# annotate_transcript(session_id)
|
| 72 |
|
| 73 |
|
| 74 |
+
json_path = f"session_data/{session_id}/{session_id}_transcriptionCW.json"
|
| 75 |
if not os.path.isfile(json_path):
|
| 76 |
return jsonify({'error': f"Annotation file {json_path} not found"}), 500
|
| 77 |
|