pvanand commited on
Commit
f87e22f
1 Parent(s): e9b1485

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -66,7 +66,7 @@ class QueryModel(BaseModel):
66
  data_format: str = Query(default="Structured data", description="Type of data to extract from the internet",
67
  enum=["No presets", "Structured data", "Quantitative data"])
68
 
69
- #@cache(expire=604800)
70
  async def generate_report(query: QueryModel):
71
  query_str = query.topic
72
  description = query.description
 
66
  data_format: str = Query(default="Structured data", description="Type of data to extract from the internet",
67
  enum=["No presets", "Structured data", "Quantitative data"])
68
 
69
+ @cache(expire=604800)
70
  async def generate_report(query: QueryModel):
71
  query_str = query.topic
72
  description = query.description