000x commited on
Commit
9c4f73b
·
verified ·
1 Parent(s): 58e7007

Update app.py

Browse files

zaanind/nllb-ensi-v1-srtgen

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ class Config:
105
  MAX_FILE_SIZE = 10 * 1024 * 1024 # 10MB per file
106
  MAX_BATCH_SIZE = 20 # Maximum files per batch
107
  SUPPORTED_FORMATS = [".srt"]
108
- MODEL_NAME = "zaanind/gpt2_finetune_films" # Lighter model for better performance
109
  BATCH_SIZE = 4 # Reduced for stability
110
  MAX_CONCURRENT_TRANSLATIONS = 2
111
  DB_PATH = "translations.db"
 
105
  MAX_FILE_SIZE = 10 * 1024 * 1024 # 10MB per file
106
  MAX_BATCH_SIZE = 20 # Maximum files per batch
107
  SUPPORTED_FORMATS = [".srt"]
108
+ MODEL_NAME = "zaanind/nllb-ensi-v1-srtgen" # Lighter model for better performance
109
  BATCH_SIZE = 4 # Reduced for stability
110
  MAX_CONCURRENT_TRANSLATIONS = 2
111
  DB_PATH = "translations.db"