data(train 520·holdout 120), server(발화 생성 서버), eval(grounding_eval), run_eval.py·run_test.sh. logs/ 는 실행 때마다 생기는 기록이라 README.md 만 올리고 나머지는 .gitignore 로 뺀다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
513 B
Python
21 lines
513 B
Python
# 실행 방법
|
|
# pip install -r requirements.txt
|
|
# python web_main.py
|
|
#
|
|
# 또는 uvicorn 직접 실행:
|
|
# uvicorn router.router:app --host 0.0.0.0 --port 3400
|
|
|
|
import uvicorn
|
|
|
|
from config.config_loader import app_config
|
|
|
|
if __name__ == "__main__":
|
|
print(f"Server Name : {app_config.server.name}")
|
|
print(f"Server Port : {app_config.server.port}")
|
|
uvicorn.run(
|
|
"router.router:app",
|
|
host=app_config.server.host,
|
|
port=app_config.server.port,
|
|
access_log=False,
|
|
)
|