add replicate service
Browse files
lec2note/ingestion/whisper_runner.py
CHANGED
|
@@ -87,6 +87,6 @@ class WhisperRunner: # noqa: D101
|
|
| 87 |
}
|
| 88 |
for seg in segments
|
| 89 |
]
|
| 90 |
-
with open(audio_path.with_suffix(".json"), "w") as f:
|
| 91 |
-
|
| 92 |
return results
|
|
|
|
| 87 |
}
|
| 88 |
for seg in segments
|
| 89 |
]
|
| 90 |
+
# with open(audio_path.with_suffix(".json"), "w") as f:
|
| 91 |
+
# json.dump(results, f, indent=2)
|
| 92 |
return results
|