Spaces:
Runtime error
Runtime error
gmerrill
commited on
Commit
·
7627f78
1
Parent(s):
fae36f8
update
Browse files
main.py
CHANGED
@@ -8,7 +8,7 @@ app = FastAPI()
|
|
8 |
|
9 |
@app.post("/query_gorilla")
|
10 |
async def query_gorilla(req: Request):
|
11 |
-
body = await
|
12 |
return str(body)
|
13 |
|
14 |
app.mount("/", StaticFiles(directory="static", html=True), name="static")
|
|
|
8 |
|
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")
|