Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant download the file (folder button) #74

Open
tingtongdpnw opened this issue Jan 12, 2024 · 6 comments
Open

Cant download the file (folder button) #74

tingtongdpnw opened this issue Jan 12, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@tingtongdpnw
Copy link

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
@jhj0517
Copy link
Owner

jhj0517 commented Jan 13, 2024

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 jhj0517 added the enhancement New feature or request label Jan 13, 2024
@jhj0517
Copy link
Owner

jhj0517 commented Jan 14, 2024

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

sa

@tingtongdpnw
Copy link
Author

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
Copy link
Author

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!

@jhj0517
Copy link
Owner

jhj0517 commented Feb 6, 2024

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.

@tingtongdpnw
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants