geqintan commited on
Commit
ad9b013
·
1 Parent(s): 236b12b
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ class EmbeddingRequest(BaseModel):
32
  input: str = Field(..., min_length=1, max_length=1000)
33
 
34
  @app.post("/embeddings")
35
- async def embeddings(request: EmbeddingRequest, authorization: str = Depends(check_authorization)):
 
36
  input_text = request.input
37
 
38
  try:
 
32
  input: str = Field(..., min_length=1, max_length=1000)
33
 
34
  @app.post("/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: