geqintan commited on
Commit
a289a2f
·
1 Parent(s): 46a8c74
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -34,6 +34,7 @@ class EmbeddingRequest(BaseModel):
34
  @app.post("/v1/embeddings")
35
  async def embeddings(request: EmbeddingRequest, authorization: str = Depends(check_authorization)):
36
  # async def embeddings(request: EmbeddingRequest):
 
37
  input_text = request.input
38
 
39
  try:
 
34
  @app.post("/v1/embeddings")
35
  async def embeddings(request: EmbeddingRequest, authorization: str = Depends(check_authorization)):
36
  # async def embeddings(request: EmbeddingRequest):
37
+ return request.input
38
  input_text = request.input
39
 
40
  try: