Samfredoly commited on
Commit
ae6341e
·
verified ·
1 Parent(s): 5b46596

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ if sys.platform == 'win32':
21
  app = FastAPI(title="Audio Transcriber", description="Audio transcription and upload service")
22
 
23
  # ==== CONFIGURATION ====
24
- HF_TOKEN = ""
25
  SOURCE_REPO_ID = "Samfredoly/BG_Vid" # Fetch audio files from here
26
  TARGET_REPO_ID = "Samfredoly/BG_Tran" # Upload transcriptions here
27
  REFERENCE_REPO_ID = "Fred808/BG3" # Reference repo to match audio filenames
 
21
  app = FastAPI(title="Audio Transcriber", description="Audio transcription and upload service")
22
 
23
  # ==== CONFIGURATION ====
24
+ HF_TOKEN = os.environ.get("HF_TOKEN", "")
25
  SOURCE_REPO_ID = "Samfredoly/BG_Vid" # Fetch audio files from here
26
  TARGET_REPO_ID = "Samfredoly/BG_Tran" # Upload transcriptions here
27
  REFERENCE_REPO_ID = "Fred808/BG3" # Reference repo to match audio filenames