You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error was caused by requiring Python 3.9 in the readme:
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://10.11.0.4:8501
2024-08-21 12:57:35.364 Uncaught app exception
Traceback (most recent call last):
File "/home/rmast/miniconda3/envs/marker/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 85, in exec_func_with_error_handling
result = func()
File "/home/rmast/miniconda3/envs/marker/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 576, in code_to_exec
exec(code, module.__dict__)
File "/home/rmast/miniconda3/envs/marker/lib/python3.9/site-packages/marker_app.py", line 14, in <module>
from marker.convert import convert_single_pdf
File "/home/rmast/miniconda3/envs/marker/lib/python3.9/site-packages/marker/convert.py", line 12, in <module>
from marker.tables.table import format_tables
File "/home/rmast/miniconda3/envs/marker/lib/python3.9/site-packages/marker/tables/table.py", line 3, in <module>
from marker.schema.page import Page
File "/home/rmast/miniconda3/envs/marker/lib/python3.9/site-packages/marker/schema/page.py", line 6, in <module>
from surya.schema import TextDetectionResult, LayoutResult, OrderResult
File "/home/rmast/miniconda3/envs/marker/lib/python3.9/site-packages/surya/schema.py", line 141, in <module>
class OCRResult(BaseModel):
File "/home/rmast/miniconda3/envs/marker/lib/python3.9/site-packages/surya/schema.py", line 143, in OCRResult
languages: List[str] | None = None
TypeError: unsupported operand type(s) for |: '_GenericAlias' and 'NoneType'
Geëlimineerd
The text was updated successfully, but these errors were encountered:
This error was caused by requiring Python 3.9 in the readme:
The text was updated successfully, but these errors were encountered: