forked from ggerganov/llama.cpp
-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved remotelink cmd, fixed lib unload, updated class.py
- Loading branch information
Showing
3 changed files
with
53 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.exe -o cloudflared.exe | ||
cloudflared.exe tunnel --url localhost:5001 | ||
: # This script will help setup a cloudflared tunnel for accessing KoboldCpp over the internet | ||
: # It should work out of the box on both linux and windows | ||
: # ====== | ||
: # WINDOWS PORTION | ||
:<<BATCH | ||
@echo off | ||
echo Starting Cloudflare Tunnel for Windows | ||
curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.exe -o cloudflared.exe | ||
cloudflared.exe tunnel --url localhost:5001 | ||
GOTO ENDING | ||
BATCH | ||
: # LINUX PORTION | ||
echo 'Starting Cloudflare Tunnel for Linux' | ||
curl -L https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -o 'cloudflared-linux-amd64' # | ||
chmod +x 'cloudflared-linux-amd64' # | ||
./cloudflared-linux-amd64 tunnel --url http://localhost:5001 # | ||
exit # | ||
:ENDING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters