ZhangYuhan commited on
Commit
e49828c
1 Parent(s): e3c6dca
Files changed (1) hide show
  1. serve/controller.py +0 -17
serve/controller.py DELETED
@@ -1,17 +0,0 @@
1
- import argparse
2
- import os
3
- import time
4
- import requests
5
- import uvicorn
6
- import numpy as np
7
- from fastapi import FastAPI, Request
8
-
9
- app = FastAPI()
10
-
11
- if __name__ == "__main__":
12
- parser = argparse.ArgumentParser()
13
- parser.add_argument("--host", type=str, default="localhost")
14
- parser.add_argument("--port", type=int, default=21001)
15
- args = parser.parse_args()
16
-
17
- uvicorn.run(app, host=args.host, port=args.port, log_level="info")