Whisper-WebUI icon indicating copy to clipboard operation
Whisper-WebUI copied to clipboard

Cant download the file (folder button)

Open tingtongdpnw opened this issue 1 year ago • 6 comments

Im using Ubuntu 22.04.3 LTS.

Everything works except when i download (im guessing it is for downloading the file), press the the folder button on the right corner below.

Once i click on it i get following error in the Terminal: "sh: 1: start: not found"

Screenshot folderbutton

tingtongdpnw avatar Jan 12 '24 20:01 tingtongdpnw

The button opens the folder where the subtitle files are located. os.system(f"start outputs") should also work on Ubuntu.

But if you use Colab, the button doesn't work. You can use the browser's file inspector and manually open the outputs folder in the browser's file inspector, located on the left side of Colab.

Since the button does not work on colab and causes unwanted misunderstandings, I'm working on putting the downloadable subtitle files (with gr.Files) there instead of the folder button when users use colab.

jhj0517 avatar Jan 13 '24 10:01 jhj0517

Added output in #76. With latest commits, Now the subtitle files are displayed for output.

sa

jhj0517 avatar Jan 14 '24 13:01 jhj0517

OK thanks for the answer. But i actually dont use Colab. Like i said im running a new fresh linux server with a graphical interface (cinnamon). Everything works fine except that folder button which i mentioned. And i still get the error which i mentioned, im gonna try the new updated app.py file which you just uploaded. And btw i also asked a few days ago with reference to the mic bug, do you have there an answer? Thank you for you help, you do a great job !

tingtongdpnw avatar Jan 15 '24 17:01 tingtongdpnw

i also checked with the new update etc, my question is now, what is the purpose for that folder button? becaues i still get the error :" sh: 1: start: not found"

i tried to look up in google to find a solution but couldnt find anything, what you think is there the problem? thank you for your fast and quick help!

tingtongdpnw avatar Feb 05 '24 18:02 tingtongdpnw

The folder button just opens the outputs folder. I don't know why os.system(f"start outputs") doesn't work in Ubuntu. Any PR for this would be great.

jhj0517 avatar Feb 06 '24 16:02 jhj0517

im also trying to find there a solution, once i find it i will write it here.

tingtongdpnw avatar Feb 09 '24 14:02 tingtongdpnw