Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ def get_recognizer():
|
|
| 47 |
model_path = TROCR_MODEL_PATH,
|
| 48 |
device = 'cpu',
|
| 49 |
half_precision = True,
|
| 50 |
-
line_threshold =
|
| 51 |
)
|
| 52 |
return recognizer
|
| 53 |
except Exception as e:
|
|
|
|
| 47 |
model_path = TROCR_MODEL_PATH,
|
| 48 |
device = 'cpu',
|
| 49 |
half_precision = True,
|
| 50 |
+
line_threshold = 10
|
| 51 |
)
|
| 52 |
return recognizer
|
| 53 |
except Exception as e:
|