abdeljalilELmajjodi commited on
Commit
4035386
·
verified ·
1 Parent(s): be4764f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ logging.basicConfig(level=logging.INFO)
14
  logger = logging.getLogger(__name__)
15
 
16
  class AtlasOCR:
17
- def __init__(self, model_name: str = "atlasia/AtlasOCR-v0", max_tokens: int = 2000):
18
  """Initialize the AtlasOCR model with proper error handling."""
19
  try:
20
  from unsloth import FastVisionModel
 
14
  logger = logging.getLogger(__name__)
15
 
16
  class AtlasOCR:
17
+ def __init__(self, model_name: str = "atlasia/AtlasOCR", max_tokens: int = 2000):
18
  """Initialize the AtlasOCR model with proper error handling."""
19
  try:
20
  from unsloth import FastVisionModel