pdfGPT-chat / start_script.sh
mphycx
separate run script
724c568
Raw History Blame Contribute Delete
237 Bytes
#!/bin/bash
# Start the first process
lc-serve deploy local api.py &
# Start the second process
streamlit run app.py --server.port=7860 &
# Wait for any process to exit
wait -n
# Exit with status of process that exited first
exit $?