aphp / edspdf

EDS-PDF is a generic, pure-Python framework for text extraction from PDF documents. It provides the machinery to use rule- or machine-learning-based approaches to classify text blocs between body and meta-data.
https://aphp.github.io/edspdf/
BSD 3-Clause "New" or "Revised" License
41 stars 6 forks source link

The Streamlit demo uses the `master` branch #13

Closed bdura closed 1 year ago

bdura commented 1 year ago

Description

The demo is currently down, with the following error message:

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
File "/app/edspdf/demo/app.py", line 5, in <module>
    from thinc.config import Config

I think it might be linked to the master branch, and not the new default dev branch.

percevalw commented 1 year ago

Ah, thanks for the info! I'll be merging dev with master soon, but in the meantime, hardcoding @master into streamlit requirements seems to do the trick.