Spaces:
Runtime error
Runtime error
v0.1.4
Browse files- src/main.py +1 -1
src/main.py
CHANGED
@@ -48,7 +48,7 @@ async def get_matching_docs(inStr: str ) -> Any:
|
|
48 |
return getRelevantDocs(inStr)
|
49 |
|
50 |
@app.post(api_base+"/addTextDocument")
|
51 |
-
async def add_text_document(inStr: str,metadata:
|
52 |
"""
|
53 |
Add text and metadata to the db
|
54 |
"""
|
|
|
48 |
return getRelevantDocs(inStr)
|
49 |
|
50 |
@app.post(api_base+"/addTextDocument")
|
51 |
+
async def add_text_document(inStr: str,metadata: dict ) -> Any:
|
52 |
"""
|
53 |
Add text and metadata to the db
|
54 |
"""
|