Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -67,7 +67,7 @@ class QueryModel(BaseModel):
|
|
67 |
|
68 |
|
69 |
@app.post("/generate_report")
|
70 |
-
@cache(expire=
|
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
|