gmerrill commited on
Commit
724e641
·
1 Parent(s): 7627f78
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -9,7 +9,9 @@ app = FastAPI()
9
  @app.post("/query_gorilla")
10
  async def query_gorilla(req: Request):
11
  body = await req.body()
12
- return str(body)
 
 
13
 
14
  app.mount("/", StaticFiles(directory="static", html=True), name="static")
15
 
 
9
  @app.post("/query_gorilla")
10
  async def query_gorilla(req: Request):
11
  body = await req.body()
12
+ return {
13
+ "val": body
14
+ }
15
 
16
  app.mount("/", StaticFiles(directory="static", html=True), name="static")
17