By michioxd
Because the CORS very stupid so we need disable them in Chromium (Chrome and another Chromium-based is fine but still recommend Chromium)
Linux:
chromium-browser --disable-web-security --user-data-dir="[some directory here]"
Windows:
- Right click to Chromium shortcut > Properties
- At Target, add this:
--disable-web-security --user-data-dir="[some directory here]"
It should be look like this:
C:\Users\Administrator\AppData\Local\Chromium\Application\chrome.exe --disable-web-security --user-data-dir="[some directory here]"
Remember to change [some directory here] to another directory.
Like:
C:\Users\<yourusername>\ChromiumData
or
/home/<yourusername>/ChromiumData
- Go to Zero Trust
- In sidebar, click Access > Tunnels
- Click Create a tunnel
- Name your tunel, then click Next
- Copy token (random string) from installation guide:
sudo cloudflared service install <TOKEN>
-
Paste to cfToken
-
Click next
-
Public hostname:
Choose a domain (and subdomain if you want)
Remember: Path must be empty
-
Service section:
Type: HTTP
URL:
127.0.0.1:5000
-
Click Save tunnel
Click in the given order
Remember to run Chub Venus in already disabled CORS browser
- Go to API Settings (click hambuger dropdown button)
- At API, select KoboldAI
- KoboldAI API URL set to your public hostname
- Click Check KoboldAI then click Save Settings
- Go to your public hostname
- Click to AI button
- Select to another Model (8GB VRAM Model is recommend)
PLEASE NOTE: Google only give 15GB VRAM