hi everyone, I'm trying to visualise in the UI the...
# ask-community
l
hi everyone, I'm trying to visualise in the UI the spacy_nlp.py DAG from the examples. I can see the DAG for etl.py just fine. I'm wondering what I'm doing wrong. Code to reproduce
Copy code
git clone --depth 1 <https://github.com/PrefectHQ/prefect.git>
cd prefect/examples
sed -i '' 's/flow.run/flow.register/g' etl.py
sed -i '' 's/flow.run/flow.register/g' spacy_nlp.py
prefect server start
python etl.py
python spacy_nlp.py
j
Hi Louis, I’m having trouble replicating the setup — however, prior to running
python spacy_nlp.py
i had to run
python -m spacy download en_core_web_sm
in order to make the model available; otherwise the last step had an error. After that,
python spacy_nlp.py
ran and I see:
l
that's right. I see it too, and it runs fine with an agent. However I can't see the Schematic (that's what I meant sorry if I wasn't clear) http://localhost:8080/flow/xxxx-flow-id-xxxx?schematic=
j
Ah, my apologies for misunderstanding - yes that IS an issue and thanks for raising it, I see it too. I’m sure @nicholas will get to the bottom of it. I guess one of these tasks must be unexpectedly missing a property.
👍 1
@Marvin archive “Issue with viewing a schematic for example flow”
l
excellent 🙂 thanks for creating this issue; I've subscribed to it. Can't wait to use prefect in combination with spacy 🔥
👍 1