Spaces:
Running
Running
Update document_generator.py
Browse files- document_generator.py +1 -1
document_generator.py
CHANGED
@@ -261,7 +261,7 @@ class DocumentResponse(BaseModel):
|
|
261 |
json_document: Dict
|
262 |
markdown_document: str
|
263 |
|
264 |
-
@cache()
|
265 |
@router.post("/generate-document", response_model=DocumentResponse)
|
266 |
async def generate_document_endpoint(request: DocumentRequest):
|
267 |
ai_client = AIClient()
|
|
|
261 |
json_document: Dict
|
262 |
markdown_document: str
|
263 |
|
264 |
+
@cache(expire=600*24*7)
|
265 |
@router.post("/generate-document", response_model=DocumentResponse)
|
266 |
async def generate_document_endpoint(request: DocumentRequest):
|
267 |
ai_client = AIClient()
|