Spaces:
Running
Running
Update document_generator.py
Browse files- document_generator.py +1 -1
document_generator.py
CHANGED
@@ -282,7 +282,7 @@ async def generate_document_endpoint(request: DocumentRequest):
|
|
282 |
raise HTTPException(status_code=500, detail=str(e))
|
283 |
|
284 |
|
285 |
-
@
|
286 |
async def test_generate_document_endpoint(request: DocumentRequest):
|
287 |
try:
|
288 |
# Load JSON document from file
|
|
|
282 |
raise HTTPException(status_code=500, detail=str(e))
|
283 |
|
284 |
|
285 |
+
@router.post("/generate-document-test", response_model=DocumentResponse)
|
286 |
async def test_generate_document_endpoint(request: DocumentRequest):
|
287 |
try:
|
288 |
# Load JSON document from file
|