Adding print and import
Browse files
main.py
CHANGED
@@ -9,7 +9,7 @@ from starlette.responses import StreamingResponse
|
|
9 |
from pydantic import BaseModel
|
10 |
from typing import List, Dict, Any, Generator, Optional
|
11 |
from server import client
|
12 |
-
from types import (
|
13 |
Documents,
|
14 |
Embeddings,
|
15 |
EmbeddingFunction,
|
@@ -37,6 +37,7 @@ bkend=client()
|
|
37 |
|
38 |
@app.get(api_base+"")
|
39 |
def heartbeat():
|
|
|
40 |
return bkend.heartbeat()
|
41 |
|
42 |
|
|
|
9 |
from pydantic import BaseModel
|
10 |
from typing import List, Dict, Any, Generator, Optional
|
11 |
from server import client
|
12 |
+
from chromadb.api.types import (
|
13 |
Documents,
|
14 |
Embeddings,
|
15 |
EmbeddingFunction,
|
|
|
37 |
|
38 |
@app.get(api_base+"")
|
39 |
def heartbeat():
|
40 |
+
print("Received heartbeat request")
|
41 |
return bkend.heartbeat()
|
42 |
|
43 |
|