generate temp folder

This commit is contained in:
Jason
2022-04-03 12:07:26 -07:00
parent 91437f30f5
commit 1b20c97d84
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ from load_estimation_model import load_estimation_model
def predict_from_times(wav_filename, preds_filename, begin, end, csv_export=True):
tmp_features_filename = "temp/" + next(tempfile._get_candidate_names()) + ".txt"
tmp_features_filename = generate_tmp_filename("txt")
#tmp_features_filename = "temp/" + next(tempfile._get_candidate_names()) + ".txt"
print("Input Array Path: " + tmp_features_filename)
predictions = None