You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
478 B
17 lines
478 B
import datetime, time |
|
from rec_all_for_day import today_audios |
|
|
|
|
|
date = str(datetime.datetime.today()).split(' ')[0].split('-') |
|
remote_path = f'/{date[0]}/{date[1]}/{date[2]}/' |
|
|
|
|
|
|
|
def permanent_recognition(): |
|
curr_time = str(datetime.datetime.today()).split(' ')[1].split(':')[0:2] |
|
curr_time = [int(i) for i in curr_time] |
|
#if curr_time[0]<17 and curr_time[0]>7: |
|
#time.sleep((17-curr_time[0])*3600+(17-curr_time[1])*60) |
|
today_audios() |
|
|
|
permanent_recognition() |