pvanand commited on
Commit
6599c5f
·
verified ·
1 Parent(s): 5503b16

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -67,7 +67,7 @@ class QueryModel(BaseModel):
67
 
68
 
69
  @app.post("/generate_report")
70
- @cache(expire=3600)
71
  async def generate_report(query: QueryModel):
72
  query_str = query.topic
73
  description = query.description
 
67
 
68
 
69
  @app.post("/generate_report")
70
+ @cache(expire=604800)
71
  async def generate_report(query: QueryModel):
72
  query_str = query.topic
73
  description = query.description