Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,9 +16,7 @@ collection = client.get_or_create_collection(name="knowledge_base")
|
|
| 16 |
pdf_file="Sutures and Suturing techniques.pdf"
|
| 17 |
pptx_file="impalnt 1.pptx"
|
| 18 |
|
| 19 |
-
collections = client.list_collections()
|
| 20 |
|
| 21 |
-
print("Existing Collections:", [c.name for c in collections])
|
| 22 |
collection = client.get_collection(name="knowledge_base")
|
| 23 |
### Step 8: Process and Store from Files ###
|
| 24 |
def process_and_store(pdf_path=None, pptx_path=None):
|
|
|
|
| 16 |
pdf_file="Sutures and Suturing techniques.pdf"
|
| 17 |
pptx_file="impalnt 1.pptx"
|
| 18 |
|
|
|
|
| 19 |
|
|
|
|
| 20 |
collection = client.get_collection(name="knowledge_base")
|
| 21 |
### Step 8: Process and Store from Files ###
|
| 22 |
def process_and_store(pdf_path=None, pptx_path=None):
|