Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf809e9

Browse files
committed
Add "Running from GitHub Pages" in README.md
Decrease renderCount.current from 3 to 2 in Config to resolve bug on deploy in autoSaveChats
1 parent296b2b3 commitdf809e9

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

‎README.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@
5252

5353
---
5454

55+
###Running from GitHub Pages
56+
57+
1. You need to have the[Ollama server](https://ollama.com/download) installed on your machine, or configure the app to use an external URL;
58+
2. By default, the app uses the llama3 model, you can install it with the command:`ollama run llama3`;
59+
3. If you have the local server, run it with the following command releasing CORS:`export OLLAMA_ORIGINS=https://*.github.io && ollama serve`;
60+
4. Access at:[kastorcode.github.io/ollama-gui-reactjs](https://kastorcode.github.io/ollama-gui-reactjs).
61+
62+
---
63+
5564
<palign="center">
5665
<big><b>&lt;kastor.code/&gt;</b></big>
5766
</p>

‎src/pages/config/index.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default function Config () {
4545

4646
useEffect(()=>{
4747
renderCount.current++
48-
if(renderCount.current<3)return
48+
if(renderCount.current<2)return
4949
Store.set('config',config)
5050
},[config])
5151

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp