Compare commits

...

2 Commits
master ... main

Author SHA1 Message Date
ENVY14 ab471704f9 1 2026-03-09 23:38:03 +09:00
ENVY14 46c05574a8 1 2026-03-09 23:37:27 +09:00
5 changed files with 24 additions and 15 deletions

4
.gitignore vendored
View File

@ -11,4 +11,6 @@ data/samples/
.pytest_cache/ .pytest_cache/
*.pyc *.pyc
*.whl *.whl
*.log *.log
uv.lock
.python-version

View File

@ -6,6 +6,7 @@
1. **사전 준비**: `uv` 설치 및 파이썬 패키지 세팅 1. **사전 준비**: `uv` 설치 및 파이썬 패키지 세팅
```bash ```bash
uv python pin 3.11
uv sync uv sync
``` ```

View File

@ -5,17 +5,19 @@ description = "HUTAMS STT Service for LTE-R"
readme = "README.md" readme = "README.md"
requires-python = ">=3.11" requires-python = ">=3.11"
dependencies = [ dependencies = [
"fastapi>=0.100.0", "fastapi>=0.110.0",
"uvicorn>=0.23.0", "uvicorn[standard]>=0.27.0",
"faster-whisper", "faster-whisper>=1.0.0",
"rapidfuzz", "rapidfuzz>=3.0.0",
"sqlalchemy", "sqlalchemy>=2.0.0",
"pydantic", "pydantic>=2.0.0",
"pydub", "pydantic-settings>=2.0.0",
"python-multipart", "pydub>=0.25.1",
"python-multipart>=0.0.9",
"imageio-ffmpeg>=0.5.0",
"jinja2", "jinja2",
"websockets" "websockets"
] ]
[dependency-groups] [dependency-groups]
dev = [ dev = [
@ -23,6 +25,10 @@ dev = [
"ruff" "ruff"
] ]
[build-system] #[build-system]
requires = ["hatchling"] #requires = ["hatchling"]
build-backend = "hatchling.build" #build-backend = "hatchling.build"
# 그리고 이 두 줄을 맨 아래에 추가해 주세요.
[tool.uv]
package = false

View File

@ -3,7 +3,7 @@
# 사용법: .\run_server.ps1 # 사용법: .\run_server.ps1
# 접속: http://localhost:28000 또는 http://127.0.0.1:28000 # 접속: http://localhost:28000 또는 http://127.0.0.1:28000
# ───────────────────────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────────────────────
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
# 1. 기존에 실행 중인 uvicorn 프로세스 안전 종료 # 1. 기존에 실행 중인 uvicorn 프로세스 안전 종료
taskkill /IM uvicorn.exe /F 2>$null taskkill /IM uvicorn.exe /F 2>$null
Start-Sleep -Milliseconds 500 Start-Sleep -Milliseconds 500

View File

@ -2,7 +2,7 @@
# test_mock.ps1 — HUTAMS MOCK 오디오 시뮬레이터 테스트 스크립트 # test_mock.ps1 — HUTAMS MOCK 오디오 시뮬레이터 테스트 스크립트
# 사용법: .\test_mock.ps1 # 사용법: .\test_mock.ps1
# ───────────────────────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────────────────────
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
Write-Host "=================================" -ForegroundColor Cyan Write-Host "=================================" -ForegroundColor Cyan
Write-Host " HUTAMS MOCK Test Mode" -ForegroundColor Cyan Write-Host " HUTAMS MOCK Test Mode" -ForegroundColor Cyan
Write-Host "=================================" -ForegroundColor Cyan Write-Host "=================================" -ForegroundColor Cyan