acecalisto3 commited on
Commit
ad15b09
·
verified ·
1 Parent(s): b68ac1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -64,11 +64,7 @@ def monitor_urls(storage_location, urls, scrape_interval, content_type, stop_scr
64
  logging.error(f"Error starting ChromeDriver: {e}")
65
 
66
  # Define a function to start scraping
67
- start_button.click(
68
- start_scraping,
69
- inputs=[storage_location, urls, scrape_interval, content_type, stop_scraping_flag],
70
- outputs=csv_output
71
- )
72
  global CURRENT_TASK, HISTORY
73
 
74
  CURRENT_TASK = f"Monitoring URLs: {', '.join(urls)}"
 
64
  logging.error(f"Error starting ChromeDriver: {e}")
65
 
66
  # Define a function to start scraping
67
+ def start_scraping(storage_location, urls, scrape_interval, content_type, stop_scraping_flag):
 
 
 
 
68
  global CURRENT_TASK, HISTORY
69
 
70
  CURRENT_TASK = f"Monitoring URLs: {', '.join(urls)}"