You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# output_file = f"{input_file}{'_'+str(n) if n > 0 else ''}.cha"
82
-
# while 1:
83
-
# output_file = f"{input_file}{'_'+str(n) if n > 0 else ''}.cha"
84
-
# if not os.path.exists(output_file):
85
-
# break
86
-
# n += 1
87
-
# chat.write(output_file, write_wor=False)
70
+
print(e)
71
+
print(f"{output_file} made it to step: {idx-1}/{len(pipeline_activity)}")
72
+
73
+
88
74
print(f"Wrote to {output_file}", flush=True)
75
+
# uncomment this next block if you want the output file to automatically open
76
+
# this process is blocking so we dont do it for now so that we can run through the rest of the files given by the UI component
89
77
# try:
90
78
# os.startfile(output_file)
91
79
# except:
92
80
# pass
93
-
# this is process blocking so we dont do it for now
94
81
# return spawn_popup_activity(title="COMPLETED!",message=f"Completed transcription of\n{input_file}\nOutput file can be found here:\n{output_file}\nOpen file now?", yes=lambda: os.startfile(output_file))
0 commit comments