davanstrien HF staff commited on
Commit
1d40966
1 Parent(s): 6a4b44c

update model

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -212,7 +212,7 @@ async def api_query_by_text(query: str, n: int = Query(default=10, ge=1, le=100)
212
  async def api_search_viewer(query: str, n: int = Query(default=10, ge=1, le=100)):
213
  try:
214
  embedding_function = SentenceTransformerEmbeddingFunction(
215
- model_name="davanstrien/dataset-viewer-descriptions-processed-st",
216
  trust_remote_code=True,
217
  )
218
  collection = client.get_collection(
 
212
  async def api_search_viewer(query: str, n: int = Query(default=10, ge=1, le=100)):
213
  try:
214
  embedding_function = SentenceTransformerEmbeddingFunction(
215
+ model_name="davanstrien/query-to-dataset-viewer-descriptions",
216
  trust_remote_code=True,
217
  )
218
  collection = client.get_collection(