derek-thomas HF staff commited on
Commit
27c16af
1 Parent(s): 1c6de8a

Trying 20.3

Browse files
Files changed (2) hide show
  1. main.py +1 -0
  2. requirements.txt +1 -1
main.py CHANGED
@@ -61,6 +61,7 @@ def schedule_periodic_task():
61
  """
62
  Schedule the main task to run at the user-defined frequency
63
  """
 
64
  if frequency == 'hourly':
65
  logger.info(f'Scheduling tasks to run every hour at the top of the hour')
66
  schedule.every().hour.at(":00").do(main)
 
61
  """
62
  Schedule the main task to run at the user-defined frequency
63
  """
64
+ main()
65
  if frequency == 'hourly':
66
  logger.info(f'Scheduling tasks to run every hour at the top of the hour')
67
  schedule.every().hour.at(":00").do(main)
requirements.txt CHANGED
@@ -10,4 +10,4 @@ supervisor==4.2.5
10
  schedule==1.2.0
11
  beautifulsoup4==4.12.2
12
  lxml==4.9.3
13
- huggingface-hub>=0.20
 
10
  schedule==1.2.0
11
  beautifulsoup4==4.12.2
12
  lxml==4.9.3
13
+ huggingface-hub==0.20.3