Spaces:
No application file
No application file
Rename admin.py to intiate.py
Browse files- admin.py → intiate.py +1 -1
admin.py → intiate.py
RENAMED
|
@@ -2,7 +2,7 @@ from utils.ingest_image import extract_and_store_images
|
|
| 2 |
from utils.ingest_text import create_vector_database
|
| 3 |
from utils.ingest_video import initiate_video
|
| 4 |
|
| 5 |
-
def process_pdf(pdf_path):
|
| 6 |
image_collection = extract_and_store_images(pdf_path)
|
| 7 |
text_collection = create_vector_database(pdf_path)
|
| 8 |
video_collection = initiate_video(video_path)
|
|
|
|
| 2 |
from utils.ingest_text import create_vector_database
|
| 3 |
from utils.ingest_video import initiate_video
|
| 4 |
|
| 5 |
+
def process_pdf(pdf_path,video_path):
|
| 6 |
image_collection = extract_and_store_images(pdf_path)
|
| 7 |
text_collection = create_vector_database(pdf_path)
|
| 8 |
video_collection = initiate_video(video_path)
|