GaiZhenbiao / ChuanhuChatGPT

GUI for ChatGPT API and many LLMs. Supports agents, file-based QA, GPT finetuning and query with web search. All with a neat UI.
https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT
GNU General Public License v3.0
15.11k stars 2.28k forks source link

[功能请求]: localize to English UI #605

Closed chinwh2019 closed 1 year ago

chinwh2019 commented 1 year ago

相关问题

Do you have any plan to localize it to English UI?

可能的解决办法

For now, the easiest way to do it is to create another ChuanhuChatbot_en.py, and presets_en.py (perhaps)

  1. I have created a Chinese-to-English mapping function and dictionary.
  2. When launching the gradio app, it will translate it to English UI.
  3. As such, it will not disturb the ChuanhuChatbot.py (Chinese UI)
  4. I can also help to translate the wiki into English if necessary.
    • I think Chuanhu is the best clean and easy-to-use UI for chatGPT by far. I hope more people can use it if there is an English version.

帮助开发

补充说明

No response

GaiZhenbiao commented 1 year ago

🤔️gradio好像有在做本地化的功能,不过还没做完

chinwh2019 commented 1 year ago

Yes, I checked the gradio announcement, but not sure when it will release this function. Perhaps we can wait a little while, if you wish to pull request, please let me know anytime.

GaiZhenbiao commented 1 year ago

我觉得分离专门的英文版文件太麻烦了,我想等等gradio推出正儿八经的本地化功能,到时候再跟进。

chinwh2019 commented 1 year ago

Alright.. I will close this issue then :)

Keldos-Li commented 1 year ago

我觉得README和wiki确实可以翻译一个英文版出来先……(是我三个星期前打算做的事,嗯,我又没空做了)

chinwh2019 commented 1 year ago

Sure, I can do it and will contact you again once I am done the translation :)

chinwh2019 commented 1 year ago

川虎 Chat 🐯 Chuanhu Chat

Logo

Provides a lightweight and easy-to-use web interface for multiple LLMs such as ChatGPT/ChatGLM/LLaMA

Tests Passing GitHub Contributors GitHub pull requests

Real-time replies / Unlimited conversations / Saved conversations / Preset prompts / Online searching / Answering based on files
Render LaTeX / Render tables / Code highlighting / Automatic light/dark mode switching / Adaptive interface / “Clean & Simplicity” experience
Customaizable api-Host / Adjustable multiple parameters / Balanced load distribution for multiple API Key / multiple user display / Compatible with GPT-4 / Supports local deployment of LLMs

Video tutorials · Video tutorials 2.0 || Online experience · One-click deployment

Animation Demo

Table of Contents

Usage tips Installation Frequently asked questions Buy the author a coke 🥤

Tips for Usage

Installation and Usage Instructions

Please check the wiki page.

Troubleshooting

Before looking up relevant information for various problems, you can try manually pulling the latest changes for this project and updating Gradio, then try again. The steps are as follows:

  1. Click on Download ZIP on the webpage to download the latest code, or
    git pull https://github.com/GaiZhenbiao/ChuanhuChatGPT.git main -f
  2. Try installing the dependencies again (as this project may have introduced new dependencies)
    pip install -r requirements.txt
    pip install -r requirements_advanced.txt
  3. Update gradio
    pip install gradio --upgrade --force-reinstall

Usually, this can solve the problem.

If the problem still exists, please refer to this page: Frequently Asked Questions (FAQ)

This page lists almost all the various issues you may encounter, including how to configure proxies and the steps you should take when encountering issues. Please be sure to read it carefully.

More information

If you need more information, please see our wiki

Starchart

Star History Chart

Contributors

Donation

🐯 If you find this software helpful, please feel free to buy the author a coke or a cup of coffee~

image
chinwh2019 commented 1 year ago

@GaiZhenbiao I translated README to english. Please have a look and let me know if any changes are required. Also I did not add the translation for this - 对于长对话,可以使用优化Tokens按钮减少Tokens占用。 It seems like the latest version has no such function anymore.

Keldos-Li commented 1 year ago

I have opened a draft pull request for this:

And @chinwh2019 I set you as the author of commit 0a0ae365008e885ef42d5c53dcdbb3e32dc49f0d, thanks a lot.