|
@@ -5,14 +5,9 @@ def initialize():
|
|
|
success = load_dictionary_from_supabase()
|
|
|
if not success:
|
|
|
print("Warning: Dictionary loading failed. Proceeding with default dictionary.")
|
|
|
- # Add any other necessary initializations here
|
|
|
|
|
|
def main():
|
|
|
- initialize()
|
|
|
-
|
|
|
- # This is where you'd typically set up your API routes
|
|
|
- # For demonstration, let's just process a sample audio file
|
|
|
-
|
|
|
+ initialize()
|
|
|
sample_audio_path = "data/01.m4a"
|
|
|
with open(sample_audio_path, "rb") as audio_file:
|
|
|
raw_transcript, corrected_transcript = process_audio(audio_file)
|