Louis Guitton

    Louis Guitton

    2 years ago
    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
    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
    Jeremiah

    Jeremiah

    2 years ago
    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:
    Louis Guitton

    Louis Guitton

    2 years ago
    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=
    Jeremiah

    Jeremiah

    2 years ago
    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.
    @Marvin archive “Issue with viewing a schematic for example flow”
    Marvin

    Marvin

    2 years ago
    Louis Guitton

    Louis Guitton

    2 years ago
    excellent 🙂 thanks for creating this issue; I've subscribed to it. Can't wait to use prefect in combination with spacy 🔥