Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ import os
|
|
5 |
import torch
|
6 |
import torchaudio # For VAD
|
7 |
|
|
|
|
|
8 |
# --- Configuration ---
|
9 |
MODEL_NAME = os.getenv("ASR_MODEL", "openai/whisper-base.en")
|
10 |
DEVICE = "cuda" if torch.cuda.is_available() and os.getenv("USE_GPU", "false").lower() == "true" else "cpu"
|
|
|
5 |
import torch
|
6 |
import torchaudio # For VAD
|
7 |
|
8 |
+
print(f"DEBUG: Gradio version being used: {gr.__version__}")
|
9 |
+
|
10 |
# --- Configuration ---
|
11 |
MODEL_NAME = os.getenv("ASR_MODEL", "openai/whisper-base.en")
|
12 |
DEVICE = "cuda" if torch.cuda.is_available() and os.getenv("USE_GPU", "false").lower() == "true" else "cpu"
|