stopping prodigy server from web UI

Is there a way to stop the prodigy webserver in a safe manner from the web UI?

I'm attempting to use the update function to exit the python process.

Use case: use CI/CD workflow to spin up prodigy web server with new example data for the day. When annotator is finished either with examples of on demand, I want to close the prodigy window with a success so the next task will execute in the CI/CD pipeline.

Kinda crazy I know, but crazy is my middle name.

Hi @washcycle!

Interesting use case! I found a similar old post. While it was in Jupyter, the same idea should apply:

I have a Mac and found these commands to work (granted I manually grabbed the PID to be safe):

# find <PIDProdigy> for prodigy session
ps -A | grep prodigy
# kill PID
kill -9 <PIDProdigy>

Let me know if this helps or if you have any other questions!