Spaces:
Paused
Paused
Update app.py
Browse files
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
|