Dadangdut33 / Speech-Translate

A realtime speech transcription and translation application using Whisper OpenAI and free translation API. Interface made using Tkinter. Code written fully in Python.
MIT License
423 stars 55 forks source link

[BUG] Hangs on stop recording #40

Closed FerriteGiant closed 8 months ago

FerriteGiant commented 1 year ago

Describe the bug Seems to start a recording just fine, but then hangs after clicking "stop".

To Reproduce Steps to reproduce the behavior:

  1. Install release 1.2.3 on Windows 10
  2. Download model (tried 3)
  3. Click Record Mic
  4. Record a few seconds of speaking
  5. Click Stop
  6. Says "Stopping..." but never progresses and no indication is shown in console that stop was clicked. App hangs while using 8% of CPU and 5 GB of ram (on tiny model). Only way to stop is to force quit.

Expected behavior Recording should stop and then audio should be processed.

Screenshots image

Desktop (please complete the following information):

Additional context Importing an mp3 works as expected.

Dadangdut33 commented 11 months ago

may i know the hardware detail more, are you using gpu?

Dadangdut33 commented 10 months ago

i think i found out the cause of the problem, this should be fixed in the next release. Thanks for the notice 👍

Dadangdut33 commented 8 months ago

Fixed in 1.3.0 release