rrg92 commited on
Commit
89507b2
·
verified ·
1 Parent(s): 04ee655

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def embed(text):
16
 
17
  @app.post("/v1/embeddings")
18
  async def openai_embed(req: Request):
19
- body = await request.json();
20
  print(body);
21
  model = body['model'];
22
  text = body['input'];
 
16
 
17
  @app.post("/v1/embeddings")
18
  async def openai_embed(req: Request):
19
+ body = await req.json();
20
  print(body);
21
  model = body['model'];
22
  text = body['input'];