Spaces:
Running
Running
Update document_generator_v3.py
Browse files- document_generator_v3.py +1 -1
document_generator_v3.py
CHANGED
@@ -553,6 +553,7 @@ async def generate_document_outline_endpoint(
|
|
553 |
query: str = Form(...),
|
554 |
template: bool = Form(False),
|
555 |
conversation_id: str = Form(...),
|
|
|
556 |
# images: Optional[List[UploadFile]] = File(None),
|
557 |
# documents: Optional[List[UploadFile]] = File(None)
|
558 |
):
|
@@ -561,7 +562,6 @@ async def generate_document_outline_endpoint(
|
|
561 |
vision_tools = VisionTools(ai_client)
|
562 |
images = ""
|
563 |
documents = ""
|
564 |
-
num_pages = 2
|
565 |
try:
|
566 |
image_context = ""
|
567 |
if images:
|
|
|
553 |
query: str = Form(...),
|
554 |
template: bool = Form(False),
|
555 |
conversation_id: str = Form(...),
|
556 |
+
num_pages:int = Form(...)
|
557 |
# images: Optional[List[UploadFile]] = File(None),
|
558 |
# documents: Optional[List[UploadFile]] = File(None)
|
559 |
):
|
|
|
562 |
vision_tools = VisionTools(ai_client)
|
563 |
images = ""
|
564 |
documents = ""
|
|
|
565 |
try:
|
566 |
image_context = ""
|
567 |
if images:
|