GithubHelp home page GithubHelp logo

alexwangmac / chuanhuchatgpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gaizhenbiao/chuanhuchatgpt

0.0 0.0 0.0 1.21 MB

GUI for ChatGPT API and any LLM

Home Page: https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT

License: GNU General Public License v3.0

Shell 0.61% JavaScript 7.31% Python 85.14% CSS 6.66% Batchfile 0.06% Dockerfile 0.22%

chuanhuchatgpt's Introduction

简体中文 | English | 日本語

川虎 Chat 🐯 Chuanhu Chat

Logo

为ChatGPT/ChatGLM/LLaMA/StableLM/MOSS等多种LLM提供了一个轻快好用的Web图形界面

Tests Passing GitHub Contributors GitHub pull requests

流式传输 / 无限对话 / 保存对话 / 预设Prompt集 / 联网搜索 / 根据文件回答
渲染LaTeX / 渲染表格 / 代码高亮 / 自动亮暗色切换 / 自适应界面 / “小而美”的体验
自定义api-Host / 多参数可调 / 多API Key均衡负载 / 多用户显示 / 适配GPT-4 / 支持本地部署LLM

视频教程 · 2.0介绍视频 || 在线体验 · 一键部署

Animation Demo

目录

使用技巧 安装方式 常见问题 给作者买可乐🥤

使用技巧

  • 使用System Prompt可以很有效地设定前提条件。
  • 使用Prompt模板功能时,选择Prompt模板集合文件,然后从下拉菜单中选择想要的prompt。
  • 如果回答不满意,可以使用 重新生成按钮再试一次
  • 对于长对话,可以使用 优化Tokens按钮减少Tokens占用。
  • 输入框支持换行,按 shift enter即可。
  • 可以在输入框按上下箭头在输入历史之间切换
  • 部署到服务器:将程序最后一句改成 demo.launch(server_name="0.0.0.0", server_port=<你的端口号>)
  • 获取公共链接:将程序最后一句改成 demo.launch(share=True)。注意程序必须在运行,才能通过公共链接访问。
  • 在Hugging Face上使用:建议在右上角 复制Space 再使用,这样App反应可能会快一点。

安装方式、使用方式

请查看本项目的wiki页面

疑难杂症解决

在遇到各种问题查阅相关信息前,您可以先尝试手动拉取本项目的最新更改并更新 gradio,然后重试。步骤为:

  1. 点击网页上的 Download ZIP 下载最新代码,或
    git pull https://github.com/GaiZhenbiao/ChuanhuChatGPT.git main -f
  2. 尝试再次安装依赖(可能本项目引入了新的依赖)
    pip install -r requirements.txt
    
  3. 更新gradio
    pip install gradio --upgrade --force-reinstall
    

很多时候,这样就可以解决问题。

如果问题仍然存在,请查阅该页面:常见问题

该页面列出了几乎所有您可能遇到的各种问题,包括如何配置代理,以及遇到问题后您该采取的措施,请务必认真阅读

了解更多

若需了解更多信息,请查看我们的 wiki

Starchart

Star History Chart

Contributors

捐款

🐯如果觉得这个软件对你有所帮助,欢迎请作者喝可乐、喝咖啡~

Buy Me A Coffee

image

chuanhuchatgpt's People

Contributors

gaizhenbiao avatar keldos-li avatar mzhao-ouo avatar iskoldt-x avatar xingfanxia avatar hsungong avatar ina111 avatar xhongc avatar haleych avatar noahzark avatar gary2018x avatar idlesschaye avatar miloxing avatar nativu5 avatar pnut-ggg avatar samge0 avatar s3xysteak avatar eralien avatar sifue avatar tuteng0915 avatar qingxudw avatar redheartsecretman avatar paradoxzw avatar chenhengjie123 avatar chinwh2019 avatar ihomesoft avatar plucury avatar lihuacai168 avatar gghyoo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.