acecalisto3 commited on
Commit
72e8f70
·
verified ·
1 Parent(s): 88dab3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def handle_input(storage_location, url1, url2, scrape_interval, content_type):
96
  current_task = f"Monitoring URLs: {url1}, {url2}"
97
  history.append(f"Task started: {current_task}")
98
  monitor_urls(storage_location, url1, url2, scrape_interval, content_type)
99
- return TASK_PROMPT.format(task=current_task, history="\n".join(history))
100
 
101
  # Load custom prompts
102
  try:
 
96
  current_task = f"Monitoring URLs: {url1}, {url2}"
97
  history.append(f"Task started: {current_task}")
98
  monitor_urls(storage_location, url1, url2, scrape_interval, content_type)
99
+ return TASK_PROMPT.format(task=current_task, history="\n".join(map(str, history)))
100
 
101
  # Load custom prompts
102
  try: