File size: 869 Bytes
7b7db64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Environment Configuration for Speech Transcription App
# Copy this file to .env and modify as needed

# CUDA Configuration
# Set to 'true' to use CUDA/GPU acceleration for all models
# Set to 'false' to use CPU for all models
# Default: false (CPU)
USE_CUDA=false

# Example configurations:
# USE_CUDA=true   # Use GPU acceleration (requires CUDA-compatible GPU)
# USE_CUDA=false  # Use CPU (works on all systems)

# Note: When USE_CUDA=true, the following models will use GPU:
# - Whisper (speech-to-text)
# - RoBERTa (question classification)
# - Sentence Boundary Detection
#
# GPU acceleration provides:
# βœ… Faster processing (2-10x speedup)
# βœ… Better real-time performance
# ❌ Higher memory usage
# ❌ Requires CUDA-compatible GPU
#
# CPU processing provides:
# βœ… Works on all systems
# βœ… Lower memory usage
# βœ… More stable
# ❌ Slower processing