debaghtk commited on
Commit
1bdb4be
·
1 Parent(s): c695afe
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ voice_id = os.getenv("ELEVENLABS_VOICE_ID")
29
 
30
  # Load and process the transcripts
31
  documents = []
32
- folder_path = "transcriptions" # Ensure this path is correct
33
 
34
  for filename in os.listdir(folder_path):
35
  if filename.endswith(".txt"):
 
29
 
30
  # Load and process the transcripts
31
  documents = []
32
+ folder_path = "transcriptions-local" if os.getenv("ENVIRONMENT") == "local" else "transcriptions"
33
 
34
  for filename in os.listdir(folder_path):
35
  if filename.endswith(".txt"):