Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Custom domain #4

Closed
Explosion-Scratch opened this issue Oct 13, 2022 · 5 comments
Closed

Feature request: Custom domain #4

Explosion-Scratch opened this issue Oct 13, 2022 · 5 comments

Comments

@Explosion-Scratch
Copy link
Contributor

This does allow a custom port, but it'd be nice to have a whole custom endpoint, that way people could host the server on Google Colab then use that as the backend for the webui.

Ideally this would also be used to host images, instead of on your poor server.

Working on a Colab to do just this: https://colab.research.google.com/drive/1JbmQhUloM14aK713ypV2JRdZmV-Fs9le?usp=sharing

(For some reason ngrok doesn't seem to be printing the output URL of the tunnel though)

@carefree0910
Copy link
Owner

Sure! Very nice advice, will add that ASAP 😆

@carefree0910
Copy link
Owner

The feature is online right now! Maybe I'll try to play with Google Colab tomorrow, I'm not familiar with it though...

Once I succeeded (or someone succeeded) in using the Colab as the backend server, it will be super-duper helpful! 😆 I'll definitely treat it as the recommended 'local' deployment method and update the README!

@carefree0910
Copy link
Owner

Ah, silly me, why did I split those stuffs around, maybe I just should not code late in the night 🤣

I've just updated the WebUI, and I've already succeeded in using the Colab as the backend server and have updated the README. Now 'local' deployment should be much easier.

Thanks again for this advice, it is truly helpful! 🥳

@Explosion-Scratch
Copy link
Contributor Author

Explosion-Scratch commented Oct 13, 2022

Once I succeeded (or someone succeeded) in using the Colab as the backend server, it will be super-duper helpful! 😆 I'll definitely treat it as the recommended 'local' deployment method and update the README!

Wait, you did? I've been trying all morning and it keeps failing

(Updated Python to install numpy, tried to tunnel through ngrok but for some reason it didn't spit out the URL, tried to add parameters to the generate function but kept getting image file errors)

@Explosion-Scratch
Copy link
Contributor Author

lol, looked at your colab notebook and realized I forgot the authtoken for ngrok 🤦🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants