17 lines
325 B
Bash
17 lines
325 B
Bash
#!/bin/bash
|
|
conda activate .venv/
|
|
. thirdparty/aliyun/.env
|
|
. thirdparty/lingda/.env
|
|
# Start FastAPI server
|
|
nohup python fastapi_server.py > service.log 2>&1 &
|
|
|
|
tail -f service.log
|
|
|
|
# # Wait for the FastAPI server to start
|
|
# sleep 5
|
|
|
|
# # Start Gradio app
|
|
# nohup python gradio_app.py > gradio.log 2>&1 &
|
|
|
|
# tail -f gradio.log
|