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