jessica07 commited on
Commit
73b5748
1 Parent(s): ef3ac9c

Update deepgram_transcribe.py

Browse files
Files changed (1) hide show
  1. deepgram_transcribe.py +2 -2
deepgram_transcribe.py CHANGED
@@ -29,12 +29,12 @@ def write_csv_file(csv_file, csv_data):
29
 
30
  print(f"Data written to {csv_file}")
31
 
32
- def process(audio_file, progress):
33
  load_dotenv("myenv-variable.env")
34
 
35
  # Path to the audio file
36
  AUDIO_FILE = audio_file #audio name
37
- TAGS = "vogue" # youtube source, for categorization
38
 
39
  API_KEY = os.getenv('API_DEEPGRAM')
40
  original_parent_folder = os.getcwd()
 
29
 
30
  print(f"Data written to {csv_file}")
31
 
32
+ def process(audio_file, tag, progress):
33
  load_dotenv("myenv-variable.env")
34
 
35
  # Path to the audio file
36
  AUDIO_FILE = audio_file #audio name
37
+ TAGS = tag # youtube source, for categorization
38
 
39
  API_KEY = os.getenv('API_DEEPGRAM')
40
  original_parent_folder = os.getcwd()