Spaces:
Sleeping
Sleeping
add buy me a coffee page
Browse filesA better donate button
修复readme链接
- README.md +3 -1
- readme/README_en.md +4 -2
- readme/README_ja.md +9 -7
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<div align="right">
|
| 2 |
<!-- 语言: -->
|
| 3 |
-
简体中文 | <a title="English" href="README_en.md">English</a> | <a title="Japanese" href="README_ja.md">日本語</a>
|
| 4 |
</div>
|
| 5 |
|
| 6 |
<h1 align="center">川虎 Chat 🐯 Chuanhu Chat</h1>
|
|
@@ -107,4 +107,6 @@
|
|
| 107 |
|
| 108 |
🐯如果觉得这个软件对你有所帮助,欢迎请作者喝可乐、喝咖啡~
|
| 109 |
|
|
|
|
|
|
|
| 110 |
<img width="250" alt="image" src="https://user-images.githubusercontent.com/51039745/226920291-e8ec0b0a-400f-4c20-ac13-dafac0c3aeeb.JPG">
|
|
|
|
| 1 |
<div align="right">
|
| 2 |
<!-- 语言: -->
|
| 3 |
+
简体中文 | <a title="English" href="./readme/README_en.md">English</a> | <a title="Japanese" href="./readme/README_ja.md">日本語</a>
|
| 4 |
</div>
|
| 5 |
|
| 6 |
<h1 align="center">川虎 Chat 🐯 Chuanhu Chat</h1>
|
|
|
|
| 107 |
|
| 108 |
🐯如果觉得这个软件对你有所帮助,欢迎请作者喝可乐、喝咖啡~
|
| 109 |
|
| 110 |
+
<a href="https://www.buymeacoffee.com/ChuanhuChat" target="_blank"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=ChuanhuChat&button_colour=1aae59&font_colour=ffffff&font_family=Poppins&outline_colour=ffffff&coffee_colour=FFDD00" alt="Buy Me A Coffee" width="250"></a>
|
| 111 |
+
|
| 112 |
<img width="250" alt="image" src="https://user-images.githubusercontent.com/51039745/226920291-e8ec0b0a-400f-4c20-ac13-dafac0c3aeeb.JPG">
|
readme/README_en.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<div align="right">
|
| 2 |
<!-- Language: -->
|
| 3 |
-
<a title="Chinese" href="README.md">简体中文</a> | English | <a title="Japanese" href="README_ja.md">日本語</a>
|
| 4 |
</div>
|
| 5 |
|
| 6 |
<h1 align="center">川虎 Chat 🐯 Chuanhu Chat</h1>
|
|
@@ -49,7 +49,7 @@
|
|
| 49 |
- To better control the ChatGPT, use System Prompt.
|
| 50 |
- To use a Prompt Template, select the Prompt Template Collection file first, and then choose certain prompt from the drop-down menu.
|
| 51 |
- To try again if the response is unsatisfactory, use `🔄 Regenerate` button.
|
| 52 |
-
- To start a new line in the input box, press `<kbd>`Shift`</kbd>` + `<kbd>`Enter`</kbd>` keys.
|
| 53 |
- To quickly switch between input history, press `<kbd>`↑`</kbd>` and `<kbd>`↓`</kbd>` key in the input box.
|
| 54 |
- To deploy the program onto a server, change the last line of the program to `demo.launch(server_name="0.0.0.0", server_port=<your port number>)`.
|
| 55 |
- To get a public shared link, change the last line of the program to `demo.launch(share=True)`. Please be noted that the program must be running in order to be accessed via a public link.
|
|
@@ -122,4 +122,6 @@ More information could be found in our [wiki](https://github.com/GaiZhenbiao/Chu
|
|
| 122 |
|
| 123 |
🐯 If you find this project helpful, feel free to buy me a coke or a cup of coffee~
|
| 124 |
|
|
|
|
|
|
|
| 125 |
<img width="250" alt="image" src="https://user-images.githubusercontent.com/51039745/226920291-e8ec0b0a-400f-4c20-ac13-dafac0c3aeeb.JPG">
|
|
|
|
| 1 |
<div align="right">
|
| 2 |
<!-- Language: -->
|
| 3 |
+
<a title="Chinese" href="../README.md">简体中文</a> | English | <a title="Japanese" href="README_ja.md">日本語</a>
|
| 4 |
</div>
|
| 5 |
|
| 6 |
<h1 align="center">川虎 Chat 🐯 Chuanhu Chat</h1>
|
|
|
|
| 49 |
- To better control the ChatGPT, use System Prompt.
|
| 50 |
- To use a Prompt Template, select the Prompt Template Collection file first, and then choose certain prompt from the drop-down menu.
|
| 51 |
- To try again if the response is unsatisfactory, use `🔄 Regenerate` button.
|
| 52 |
+
- To start a new line in the input box, press `<kbd>`Shift `</kbd>` + `<kbd>`Enter `</kbd>` keys.
|
| 53 |
- To quickly switch between input history, press `<kbd>`↑`</kbd>` and `<kbd>`↓`</kbd>` key in the input box.
|
| 54 |
- To deploy the program onto a server, change the last line of the program to `demo.launch(server_name="0.0.0.0", server_port=<your port number>)`.
|
| 55 |
- To get a public shared link, change the last line of the program to `demo.launch(share=True)`. Please be noted that the program must be running in order to be accessed via a public link.
|
|
|
|
| 122 |
|
| 123 |
🐯 If you find this project helpful, feel free to buy me a coke or a cup of coffee~
|
| 124 |
|
| 125 |
+
<a href="https://www.buymeacoffee.com/ChuanhuChat" target="_blank"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=ChuanhuChat&button_colour=1aae59&font_colour=ffffff&font_family=Poppins&outline_colour=ffffff&coffee_colour=FFDD00" alt="Buy Me A Coffee" width="250"></a>
|
| 126 |
+
|
| 127 |
<img width="250" alt="image" src="https://user-images.githubusercontent.com/51039745/226920291-e8ec0b0a-400f-4c20-ac13-dafac0c3aeeb.JPG">
|
readme/README_ja.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<div align="right">
|
| 2 |
<!-- Language: -->
|
| 3 |
-
<a title="Chinese" href="README.md">简体中文</a> | <a title="English" href="README_en.md">English</a> | 日本語
|
| 4 |
</div>
|
| 5 |
|
| 6 |
<h1 align="center">川虎 Chat 🐯 Chuanhu Chat</h1>
|
|
@@ -9,7 +9,7 @@
|
|
| 9 |
<img src="https://user-images.githubusercontent.com/70903329/227087087-93b37d64-7dc3-4738-a518-c1cf05591c8a.png" alt="Logo" height="156">
|
| 10 |
</a>
|
| 11 |
|
| 12 |
-
|
| 13 |
<h3>ChatGPT/ChatGLM/LLaMAなどのLLMのための軽量でユーザーフレンドリーなWeb-UI</h3>
|
| 14 |
<p align="center">
|
| 15 |
<a href="https://github.com/GaiZhenbiao/ChuanhuChatGPT/blob/main/LICENSE">
|
|
@@ -45,10 +45,11 @@
|
|
| 45 |
</div>
|
| 46 |
|
| 47 |
## 使う上でのTips
|
|
|
|
| 48 |
- ChatGPTをより適切に制御するために、システムプロンプトを使用できます。
|
| 49 |
- プロンプトテンプレートを使用するには、プロンプトテンプレートコレクションを選択し、ドロップダウンメニューから特定のプロンプトを選択。回答が不十分な場合は、`🔄再生成`ボタンを使って再試行します。
|
| 50 |
-
- 入力ボックスで改行するには、<kbd>Shift</kbd> + <kbd>Enter</kbd>キーを押してください。
|
| 51 |
-
- 入力履歴を素早く切り替えるには、入力ボックスで<kbd>↑</kbd>と<kbd>↓</kbd>キーを押す。
|
| 52 |
- プログラムをサーバにデプロイするには、プログラムの最終行を `demo.launch(server_name="0.0.0.0", server_port=<your port number>)`に変更します。
|
| 53 |
- 共有リンクを取得するには、プログラムの最後の行を `demo.launch(share=True)` に変更してください。なお、公開リンクでアクセスするためには、プログラムが実行されている必要があることに注意してください。
|
| 54 |
- Hugging Face Spacesで使用する場合: より速く、より安全に利用するために、**Duplicate Space**を使用し、自分のスペースでプログラムを実行することをお勧めします。
|
|
@@ -61,7 +62,7 @@ cd ChuanhuChatGPT
|
|
| 61 |
pip install -r requirements.txt
|
| 62 |
```
|
| 63 |
|
| 64 |
-
次に`config_example.json`をコピーして`config.json`にリネームし、そのファイルにAPI-Keyなどの設定を記入する。
|
| 65 |
|
| 66 |
```shell
|
| 67 |
python ChuanhuChatbot.py
|
|
@@ -70,10 +71,9 @@ python ChuanhuChatbot.py
|
|
| 70 |
ブラウザのウィンドウが開き、ChatGPTとチャットできるようになります。
|
| 71 |
|
| 72 |
> **Note**
|
| 73 |
-
>
|
| 74 |
> 詳しい手順は[wikiページ](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/使用教程)をご確認ください。
|
| 75 |
|
| 76 |
-
|
| 77 |
## トラブルシューティング
|
| 78 |
|
| 79 |
問題が発生した場合は、まずこのプロジェクトの最新の変更点を手動で引っ張ってみるのがよいでしょう。その手順は以下の通りです:
|
|
@@ -121,4 +121,6 @@ python ChuanhuChatbot.py
|
|
| 121 |
|
| 122 |
🐯 この企画が役に立ったら、遠慮なくコーラかコーヒーでもおごってください〜。
|
| 123 |
|
|
|
|
|
|
|
| 124 |
<img width="250" alt="image" src="https://user-images.githubusercontent.com/51039745/226920291-e8ec0b0a-400f-4c20-ac13-dafac0c3aeeb.JPG">
|
|
|
|
| 1 |
<div align="right">
|
| 2 |
<!-- Language: -->
|
| 3 |
+
<a title="Chinese" href="../README.md">简体中文</a> | <a title="English" href="README_en.md">English</a> | 日本語
|
| 4 |
</div>
|
| 5 |
|
| 6 |
<h1 align="center">川虎 Chat 🐯 Chuanhu Chat</h1>
|
|
|
|
| 9 |
<img src="https://user-images.githubusercontent.com/70903329/227087087-93b37d64-7dc3-4738-a518-c1cf05591c8a.png" alt="Logo" height="156">
|
| 10 |
</a>
|
| 11 |
|
| 12 |
+
<p align="center">
|
| 13 |
<h3>ChatGPT/ChatGLM/LLaMAなどのLLMのための軽量でユーザーフレンドリーなWeb-UI</h3>
|
| 14 |
<p align="center">
|
| 15 |
<a href="https://github.com/GaiZhenbiao/ChuanhuChatGPT/blob/main/LICENSE">
|
|
|
|
| 45 |
</div>
|
| 46 |
|
| 47 |
## 使う上でのTips
|
| 48 |
+
|
| 49 |
- ChatGPTをより適切に制御するために、システムプロンプトを使用できます。
|
| 50 |
- プロンプトテンプレートを使用するには、プロンプトテンプレートコレクションを選択し、ドロップダウンメニューから特定のプロンプトを選択。回答が不十分な場合は、`🔄再生成`ボタンを使って再試行します。
|
| 51 |
+
- 入力ボックスで改行するには、`<kbd>`Shift `</kbd>` + `<kbd>`Enter `</kbd>`キーを押してください。
|
| 52 |
+
- 入力履歴を素早く切り替えるには、入力ボックスで `<kbd>`↑`</kbd>`と `<kbd>`↓`</kbd>`キーを押す。
|
| 53 |
- プログラムをサーバにデプロイするには、プログラムの最終行を `demo.launch(server_name="0.0.0.0", server_port=<your port number>)`に変更します。
|
| 54 |
- 共有リンクを取得するには、プログラムの最後の行を `demo.launch(share=True)` に変更してください。なお、公開リンクでアクセスするためには、プログラムが実行されている必要があることに注意してください。
|
| 55 |
- Hugging Face Spacesで使用する場合: より速く、より安全に利用するために、**Duplicate Space**を使用し、自分のスペースでプログラムを実行することをお勧めします。
|
|
|
|
| 62 |
pip install -r requirements.txt
|
| 63 |
```
|
| 64 |
|
| 65 |
+
次に `config_example.json`をコピーして `config.json`にリネームし、そのファイルにAPI-Keyなどの設定を記入する。
|
| 66 |
|
| 67 |
```shell
|
| 68 |
python ChuanhuChatbot.py
|
|
|
|
| 71 |
ブラウザのウィンドウが開き、ChatGPTとチャットできるようになります。
|
| 72 |
|
| 73 |
> **Note**
|
| 74 |
+
>
|
| 75 |
> 詳しい手順は[wikiページ](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/使用教程)をご確認ください。
|
| 76 |
|
|
|
|
| 77 |
## トラブルシューティング
|
| 78 |
|
| 79 |
問題が発生した場合は、まずこのプロジェクトの最新の変更点を手動で引っ張ってみるのがよいでしょう。その手順は以下の通りです:
|
|
|
|
| 121 |
|
| 122 |
🐯 この企画が役に立ったら、遠慮なくコーラかコーヒーでもおごってください〜。
|
| 123 |
|
| 124 |
+
<a href="https://www.buymeacoffee.com/ChuanhuChat" target="_blank"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=ChuanhuChat&button_colour=1aae59&font_colour=ffffff&font_family=Poppins&outline_colour=ffffff&coffee_colour=FFDD00" alt="Buy Me A Coffee" width="250"></a>
|
| 125 |
+
|
| 126 |
<img width="250" alt="image" src="https://user-images.githubusercontent.com/51039745/226920291-e8ec0b0a-400f-4c20-ac13-dafac0c3aeeb.JPG">
|