wldmr commited on
Commit
e6981ff
·
1 Parent(s): 1455a7c
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -6,9 +6,12 @@ import base64
6
 
7
  app = FastAPI()
8
 
9
-
10
  @app.get("/")
11
  async def root():
 
 
 
 
12
  images = []
13
 
14
  with open('workdir/lion.jpg', 'rb') as open_file:
 
6
 
7
  app = FastAPI()
8
 
 
9
  @app.get("/")
10
  async def root():
11
+ return "OK!"
12
+
13
+ @app.get("/api")
14
+ async def cal_api():
15
  images = []
16
 
17
  with open('workdir/lion.jpg', 'rb') as open_file: