Skip to content

Commit

Permalink
fix: the process need console to not stop in the mid progress (idk why)
Browse files Browse the repository at this point in the history
  • Loading branch information
miukyo committed Jan 7, 2025
1 parent 19044c9 commit db6a24f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,6 @@ def run_sub(self):
self.log(f"Command failed with return code {self.whisper.returncode}")
break

# window.evaluate_js(
# f"document.getElementById('run_sub').disabled = false;document.getElementById('run_sub').innerText = 'Transcribe'"
# )
# self.log(f"Finished transcription of {len(self.audio_list)} files\n")


webview.create_window(
"STT", "ui/index.html", js_api=App(), min_size=(800, 600), width=800, height=600
Expand Down
3 changes: 2 additions & 1 deletion main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ exe = EXE(
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=['ui\\icon.ico'],
hide_console='hide-early',
)

0 comments on commit db6a24f

Please sign in to comment.