tahirsher commited on
Commit
1a131d7
·
verified ·
1 Parent(s): 2512e98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -6,10 +6,6 @@ import streamlit as st
6
  import os
7
  import io
8
 
9
- # Set the Tesseract path explicitly
10
- pytesseract.pytesseract.tesseract_cmd = r'/usr/bin/tesseract' # Linux/macOS
11
- # pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe' # Windows
12
-
13
  # Set up the translation pipelines with error handling
14
  try:
15
  translator_to_english = pipeline("translation", model="Helsinki-NLP/opus-mt-mul-en")
 
6
  import os
7
  import io
8
 
 
 
 
 
9
  # Set up the translation pipelines with error handling
10
  try:
11
  translator_to_english = pipeline("translation", model="Helsinki-NLP/opus-mt-mul-en")