Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from pdf2image import convert_from_bytes
|
|
13 |
# Load the OCR Pipeline (Uses Torch)
|
14 |
#####################################
|
15 |
try:
|
16 |
-
ocr_pipeline = pipeline("image-to-text", model="
|
17 |
st.write("Model loaded successfully!")
|
18 |
except Exception as e:
|
19 |
st.error(f"Error loading model: {e}")
|
|
|
13 |
# Load the OCR Pipeline (Uses Torch)
|
14 |
#####################################
|
15 |
try:
|
16 |
+
ocr_pipeline = pipeline("image-to-text", model="YouLiXiya/tinyllava-v1.0-1.1b-hf")
|
17 |
st.write("Model loaded successfully!")
|
18 |
except Exception as e:
|
19 |
st.error(f"Error loading model: {e}")
|