gordonchan commited on
Commit
871ea87
1 Parent(s): 0fc6c9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ async def get_embeddings(request: EmbeddingRequest, credentials: HTTPAuthorizati
95
  # embeddings = [model.encode(text) for text in request.input]
96
  print(request.json())
97
  embeddings = query(request.input)
98
- print(embeddings)
99
  prompt_tokens = sum(len(text.split()) for text in request.input)
100
  total_tokens = sum(num_tokens_from_string(text) for text in request.input)
101
 
 
95
  # embeddings = [model.encode(text) for text in request.input]
96
  print(request.json())
97
  embeddings = query(request.input)
98
+ #print(embeddings)
99
  prompt_tokens = sum(len(text.split()) for text in request.input)
100
  total_tokens = sum(num_tokens_from_string(text) for text in request.input)
101