Spaces:
Runtime error
Runtime error
gmerrill
commited on
Commit
·
724e641
1
Parent(s):
7627f78
update
Browse files
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
|
|
|
|
|
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 |
|