ex510 commited on
Commit
62821b0
·
verified ·
1 Parent(s): fcc9024

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -2
main.py CHANGED
@@ -109,8 +109,6 @@ async def embed_text(request: TextRequest, background_tasks: BackgroundTasks):
109
  return {
110
  "success": True,
111
  "model": model_id,
112
- "dimension": len(embedding),
113
- "embedding": embedding
114
  }
115
  except Exception as e:
116
  raise HTTPException(status_code=500, detail=str(e))
 
109
  return {
110
  "success": True,
111
  "model": model_id,
 
 
112
  }
113
  except Exception as e:
114
  raise HTTPException(status_code=500, detail=str(e))