SherryLiu 4 months ago
parent
commit
6449084856
1 changed files with 1 additions and 6 deletions
  1. 1 6
      src/main_script.py

+ 1 - 6
src/main_script.py

@@ -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)