Customize Prodigy web app port number

The default port for Prodigy web is 8080. Can I change to other port number?

I tried to change the port number in the app.py and types.py. It didn't work. I think the port number on the server side needs to be updated too.

The reason behind this is that I want to run more than one Prodigy on the same server.

Thanks.

After searched this forum again. I figured out the solution, set a value to variable PRODIGY_PORT. e.g.

PRODIGY_PORT=8000 prodigy sense2vec.teach tag ~/s2v_old --seeds "something, others"

2 Likes