ViperX7 / Alpaca-Turbo

Web UI to run alpaca model locally
GNU Affero General Public License v3.0
876 stars 92 forks source link

Localhost Only? #39

Open z3Nsk1Fh5a opened 1 year ago

z3Nsk1Fh5a commented 1 year ago

Trying to figure out how to use this without it launching for anyone online to use.

JosephSBoyle commented 1 year ago

@Ghee36 It's localhost only by default.

RocaroDev93 commented 1 year ago

To limit the access to localhost only, you can change the host value at line 224 of the file api.py from host="0.0.0.0" to host="127.0.0.1"

Theodoss commented 1 year ago

find "localhost:5000" in Templates/main.###.js Then change to your IP or 0.0.0.0:5000