Spaces:
Sleeping
Sleeping
Commit
•
7945b4e
1
Parent(s):
21a39f3
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ async def get_embeddings(request: EmbeddingRequest, credentials: HTTPAuthorizati
|
|
78 |
)
|
79 |
|
80 |
print(request.json())
|
81 |
-
embeddings =
|
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)
|