RTranslator icon indicating copy to clipboard operation
RTranslator copied to clipboard

Would you please add proxy when downloading AI Modules?

Open jonozw opened this issue 1 year ago • 5 comments

Some regions can not download AI modules directly at the beginning step. Would you please add proxy setting at the first step to allow download AI modules trough proxy? thanks

jonozw avatar Jun 28 '24 00:06 jonozw

I've never set up a proxy, so I don't know where to start to add settings like this.

But most likely with the future release of RTranslator 2.1, I'll improve the downloads and include the ability to download the models separately and insert them manually into the app (I will also do a tutorial)

niedev avatar Jun 28 '24 11:06 niedev

I have the same problem, stuck during the process of downloading the model.

kyochou avatar Jun 29 '24 01:06 kyochou

@jonozw @kyochou The new release that improves the download is out! Let me know if this solves your problem (now you can use sideloading).

niedev avatar Jul 02 '24 12:07 niedev

Hi, niedev

thanks.

But it still does not work for me. Let me explain, in some regions, user can not access website like github, openai directly, we need to use proxy in browser. When downloading modules in RT, the APP try to download the modules directly, and can not connect the server. So I ask can you add proxy setting in the screen of module download step.

It is not logic problem, just some of our specila problem.

jonozw avatar Jul 04 '24 05:07 jonozw

@kyochou but now with sideloading you can download the models using a proxy and then manually insert them into the app, in that case the app takes the models directly from the folder where they were inserted without downloading anything (unless the downloaded files are corrupted due to some error in the download, so if you have done sideloading and it doesn't work it could be for this reason, in this case retrying the download redo the sideloading should solve the problem, remember to reset the app)

niedev avatar Jul 04 '24 21:07 niedev

@kyochou but now with sideloading you can download the models using a proxy and then manually insert them into the app, in that case the app takes the models directly from the folder where they were inserted without downloading anything (unless the downloaded files are corrupted due to some error in the download, so if you have done sideloading and it doesn't work it could be for this reason, in this case retrying the download redo the sideloading should solve the problem, remember to reset the app)

I have downloaded the latest version. Now, I can download the model successfully. Thank you for your help.

kyochou avatar Jul 05 '24 18:07 kyochou

Even though I used a proxy, the download was still very slow. When downloading NLLB, the progress is easily stuck at 0.69GB and 0.93GB, and I don't know later, because my progress is still stuck at 0.93GB.

Eyion avatar Aug 11 '24 03:08 Eyion

@Eyion have you tried sideloading or you used RTranslator for the download?

niedev avatar Aug 11 '24 11:08 niedev

I failed to download using RTranslator, then succeeded using sideloading. Using walkie-talkie mode, the voice is robotic and the translation is inaccurate.

Eyion avatar Aug 11 '24 11:08 Eyion

@Eyion The quality of the voice depends on your system tts (read this for more info on how to change it), the quality of the translation depends on the languages you choose, some have lower translation quality than others (in the future I will improve the translation and speech recognition quality using better models), can you tell me what languages did you used?

niedev avatar Aug 11 '24 12:08 niedev