Made changes to suit Openwebui
This commit is contained in:
@@ -14,7 +14,7 @@ export API_PORT=5251
|
||||
export PYTHONPATH=$PYTHONPATH:$(pwd)
|
||||
|
||||
# Run the application with uvicorn and nohup
|
||||
nohup uvicorn ai_service.run:app --host $API_HOST --port $API_PORT > logs/ai_service.log 2>&1 &
|
||||
nohup uvicorn ai_service.api:app --host $API_HOST --port $API_PORT > logs/ai_service.log 2>&1 &
|
||||
|
||||
echo "AI Service started on port $API_PORT. Check ai_service.log for output."
|
||||
echo "To stop the application, find the process ID with 'ps aux | grep uvicorn' and kill it with 'kill <PID>'."
|
||||
|
||||
Reference in New Issue
Block a user