pvanand commited on
Commit
39d8469
1 Parent(s): 543eb4f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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,search_data
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")