Made changes to suit Openwebui

This commit is contained in:
Iyeoluwa Akinrinola
2025-05-09 16:47:30 +01:00
parent ac98999507
commit 9535052645
14 changed files with 93 additions and 330 deletions
+1 -1
View File
@@ -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>'."