update
Browse files
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:
|