pentarosarium commited on
Commit
b9897b0
·
1 Parent(s): 11a4df0
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -192,9 +192,9 @@ def process_file(uploaded_file, model_choice, translation_method='googletrans'):
192
  # In your process_file function:
193
  translator = init_translation_system(
194
  model_choice=model_choice,
195
- translation_method='auto' # Will try deep-translator first, then fal
196
- l back to LLM if needed
197
  )
 
198
  # Validate required columns
199
  required_columns = ['Объект', 'Заголовок', 'Выдержки из текста']
200
  missing_columns = [col for col in required_columns if col not in df.columns]
 
192
  # In your process_file function:
193
  translator = init_translation_system(
194
  model_choice=model_choice,
195
+ translation_method='auto' # Will try deep-translator first, then fall back to LLM if needed
 
196
  )
197
+
198
  # Validate required columns
199
  required_columns = ['Объект', 'Заголовок', 'Выдержки из текста']
200
  missing_columns = [col for col in required_columns if col not in df.columns]