Alpha108 commited on
Commit
998f0b5
·
verified ·
1 Parent(s): 704cbe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -172,8 +172,8 @@ class GEOSEOApp:
172
  os.unlink(temp_path)
173
 
174
  # 🧠 Translate each document if needed
175
- for doc in documents:
176
- doc.page_content = detect_and_translate_to_english(doc.page_content)
177
 
178
 
179
  elif pasted_text.strip():
 
172
  os.unlink(temp_path)
173
 
174
  # 🧠 Translate each document if needed
175
+ for doc in documents:
176
+ doc.page_content = detect_and_translate_to_english(doc.page_content)
177
 
178
 
179
  elif pasted_text.strip():