pvanand commited on
Commit
0b91e7a
1 Parent(s): a4040f1

Update document_generator.py

Browse files
Files changed (1) hide show
  1. 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
- @app.post("/generate-document-test", response_model=DocumentResponse)
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