mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-14 11:34:20 +01:00
10 lines
313 B
Bash
10 lines
313 B
Bash
#!/bin/bash
|
|
|
|
# Kill processes using port 8080 if any.
|
|
if lsof -t -i :8080; then
|
|
kill $(lsof -t -i :8080)
|
|
fi
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
uvicorn agbenchmark.app:app --host localhost --port 8080 --reload --log-level info --reload-dir "$SCRIPT_DIR/../../../benchmark/agbenchmark"
|