Bug crawl
This commit is contained in:
2
app.py
2
app.py
@@ -436,7 +436,7 @@ def _scheduled_crawl():
|
||||
api_key = CrawlConfig.get('openai_api_key', '')
|
||||
model = CrawlConfig.get('openai_model', 'gpt-4o')
|
||||
max_art = int(CrawlConfig.get('max_articles_per_run', '20'))
|
||||
run_pipeline(db.engine, api_key=api_key, model=model, max_articles=max_art)
|
||||
run_pipeline(db.engine, api_key=api_key, model=model, max_articles=max_art)
|
||||
|
||||
|
||||
def start_scheduler():
|
||||
|
||||
Reference in New Issue
Block a user