[Python] Python script triggers an unexplained fetching operation on every run

Discussão em 'Python' iniciado por Stack, Junho 1, 2025.

  1. Stack

    Stack Membro Participativo

    I've recently been building a backend system using Python with Flask. Somehow an unexpected fetching operation appeared at the startup of my app.py (where app.run(port=) lies), and the server won't run until it completes fetching something.

    This beheviour does not go away afterwards, consuming ~5 seconds each time I try to start the server. This causes bad debugging experience (Flask debug mode can't be enabled for some reason). I assume it's some AI stuff but can't figure out exactly what it is and what it's for. Maybe someone familiar with that can help?

    [​IMG]

    Some of the packages used in this projects are:

    • Flask
    • pymilvus
    • pymilvus.model
    • docling
    • FlagEmbedding
    • transformers

    Continue reading...

Compartilhe esta Página