Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -294,7 +294,7 @@ def analyze_data(query, data_type="news"):
|
|
294 |
]
|
295 |
|
296 |
logger.info(f"{data_type.capitalize()} analysis completed")
|
297 |
-
return messages,
|
298 |
|
299 |
class QueryModel(BaseModel):
|
300 |
query: str = Field(..., description="Search query")
|
|
|
294 |
]
|
295 |
|
296 |
logger.info(f"{data_type.capitalize()} analysis completed")
|
297 |
+
return messages,data
|
298 |
|
299 |
class QueryModel(BaseModel):
|
300 |
query: str = Field(..., description="Search query")
|