Build a WebUI of ChatGPT with multiple authentication methods using Gradio and revChatGPT (Based on revChatGPT and Gradio)
!!! Update: Account login disabled for the present, because some accounts are deactivated by OpenAI when using revChatGPT.
If you have a Valid OpenAI account, u can use ChatGPT on HuggingFace through this project without VPN tools.
To bypass the Area and Network restriction, you can duplicate the huggingface space demo and login using your own account. Then you can use ChatGPT anywhere.
(如果无法登录OpenAI,使用HuggingFace部署chatgpt_webui,然后使用账号密码登录即可正常使用ChatGPT,无需使用任何VPN)
- Email/Password
- Access token
- Session token
- Before webui launch
Replace the corresponding variable based on your token type in app.py
(see more details in app.py
).
- After webui launch
Login through UI Login button when WebUI is running by choosing a method based on your token type.
Clone this repository:
git clone https://github.com/dotmet/chatgpt_webui.git
Install depencies:
cd chatgpt_webui
pip install -r requirements.txt
Launch webui:
python app.py
--no_markdown
Disable all mark down to make the UI clean. Example usage:
python app.py --no_markdown
If you put the token in app.py
and then launch it with the option --no_markdown
, you will get a very clean UI:
- Other options coming soon.
- Full of markdown
- Generate cpp code