Jiaaaaaaax commited on
Commit
47cc8fe
·
verified ·
1 Parent(s): 25c6871

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -16
app.py CHANGED
@@ -16,22 +16,6 @@ from pyannote.audio import Pipeline
16
  import time
17
  import ffmpeg
18
 
19
- # Configuration Management
20
- class Config:
21
- GEMINI_MODEL = "gemini-1.5-flash"
22
- GEMINI_TEMPERATURE = 0.1
23
- BATCH_SIZE = 5
24
- RATE_LIMIT_DELAY = 6 # seconds between API calls
25
-
26
- # Logging configuration
27
- LOG_FORMAT = '%(asctime)s - %(levelname)s - %(message)s'
28
- LOG_LEVEL = logging.INFO
29
-
30
- # Initialize logging
31
- logging.basicConfig(
32
- level=Config.LOG_LEVEL,
33
- format=Config.LOG_FORMAT
34
- )
35
 
36
 
37
  # MediaProcessor class handles media processing (transcription and diarization)
 
16
  import time
17
  import ffmpeg
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
 
21
  # MediaProcessor class handles media processing (transcription and diarization)