Standard functions with progress bars for downloads #303
Labels
Hacktoberfest
Small or non-core issues that could be worked on by Hacktoberfest participants
Priority: Low
Status: Available
Description
As we attempt to make Naomi easier for people to set up, we need to download large files more and more often. These include binary executables and neural network models, git source repositories and python libraries. Right now if we have to download a large file, the best we can do is say what we are doing and then leave the user waiting. It would be helpful to have some standard functions for downloading files and git repositories that would contain hooks that can be connected to progress bars in different front ends (basically either command line terminal or html right now, but should be able to support an application or theoretical audio interface in the future).
Expected Behavior
We should be able to call a couple of standard functions in app_utils for download_file(url, destination) or download_git(url, destination_dir).
Actual Behavior
When we write code to download a file or git repository off the internet, we have to write it each time. This leads to inconsistency and it's difficult to maintain.
Possible Fix
https://stackoverflow.com/questions/51045540/python-progress-bar-for-git-clone
Steps to Reproduce
Download the newest version of the Deepspeech plugin, then try setting Deepspeech as your active STT engine.
Context
It's nice to know, during a long download, that the download is proceeding and about how long you have until it finishes
The text was updated successfully, but these errors were encountered: