Skip to content

Commit

Permalink
refacotr: 서버 자원에 맞게 각 모델 서버 수정
Browse files Browse the repository at this point in the history
- 실제 서버 url이 들어있는 config 파일의 경우 서버 환경에 맞춰 향후 수정 예정
[#74]
  • Loading branch information
valofosho committed Jul 26, 2024
1 parent e435389 commit 7ced4c3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Models/fluency_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ async def get_fluency(


if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8888)
uvicorn.run(app, host="localhost", port=8005)


# 연속된 0.25 이하의 값을 갖는 요소들의 길이 계산
Expand Down
2 changes: 1 addition & 1 deletion Models/grammar_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ async def upload_json(


if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8888)
uvicorn.run(app, host="localhost", port=8004)
2 changes: 1 addition & 1 deletion Models/phoneme_rec_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,4 +291,4 @@ async def upload_wav_and_json(


if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8888)
uvicorn.run(app, host="localhost", port=8003)
2 changes: 1 addition & 1 deletion Models/whisperx_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ async def predict(file: UploadFile = File(...)):


if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8888)
uvicorn.run(app, host="localhost", port=8002)

0 comments on commit 7ced4c3

Please sign in to comment.