gordonchan commited on
Commit
7945b4e
1 Parent(s): 21a39f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ async def get_embeddings(request: EmbeddingRequest, credentials: HTTPAuthorizati
78
  )
79
 
80
  print(request.json())
81
- embeddings = async_query(request.input)
82
  # print(embeddings)
83
 
84
  prompt_tokens = sum(len(text.split()) for text in request.input)
 
78
  )
79
 
80
  print(request.json())
81
+ embeddings = query(request.input)
82
  # print(embeddings)
83
 
84
  prompt_tokens = sum(len(text.split()) for text in request.input)