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
Fix for Issue 16, to perform end-to-end testing (#23)
* Fix for Issue 16, to perform end-to-end testing
* tests: somehow chat_model unit tests gone missing
* refactor: move st command into main
* refactor: set up relative path object for mhg spacy model
* tests: make sure streamlit test is run
* tests: move streamlit command from script to module
* tests: increase timeout for streamlit app
* refactor: download spacy modern model on the fly if not found
* ci: try to checkout mhg german model repo in ci
* doc: update readme for automated spacy model install
* docs and bug: update mhg spacy model location to check for a path, remove obsolete streamlit exp rerun command
* ci: use env variable for mhg repo
* bug: correct str and path concatenation
* add simple test for image_search
* add simple test for input_output
* add simple test for text_tagging
* update test_chat_models
* try to mock avoidance of the mhg model
* add simple test for app.py
---------
Co-authored-by: Inga Ulusoy <inga.ulusoy@uni-heidelberg.de>
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,17 @@ parzivAI makes use from [spaCy](https://spacy.io/) under the hood. Download the
27
27
```bash
28
28
python -m spacy download de_core_news_sm
29
29
```
30
-
(*TODO: Download models on the fly if not found through the spacy cli*)
30
+
Note that the model is downloaded on the fly if not found through the spacy cli.
31
31
32
-
For Middle High German, a specially trained model must be loaded, and its path needs to be integrated into the code. The model can be found [here](https://github.com/Middle-High-German-Conceptual-Database/Spacy-Model-for-Middle-High-German). Git clone the repository and place it in the same folder as the parzivAI repo:
32
+
For Middle High German, a specially trained model must be loaded, and its path needs to be integrated into the code. The model can be found [here](https://github.com/Middle-High-German-Conceptual-Database/Spacy-Model-for-Middle-High-German). Git clone the repository and either set an environment variable with the model path as
0 commit comments