pvanand commited on
Commit
87cbdc0
1 Parent(s): 9245a76

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -62,7 +62,7 @@ async def startup():
62
  FastAPICache.init(InMemoryBackend(), prefix="fastapi-cache")
63
 
64
  @app.post("/generate_report")
65
- @cache(expire=60 * 60 * 24 * 7) # Cache for 7 days
66
  async def generate_report(request: Request, query: QueryModel):
67
  query_str = query.topic
68
  description = query.description
 
62
  FastAPICache.init(InMemoryBackend(), prefix="fastapi-cache")
63
 
64
  @app.post("/generate_report")
65
+ #@cache(expire=60 * 60 * 24 * 7) # Cache for 7 days
66
  async def generate_report(request: Request, query: QueryModel):
67
  query_str = query.topic
68
  description = query.description