borisdayma / dalle-mini

DALL·E Mini - Generate images from a text prompt
https://www.craiyon.com
Apache License 2.0
14.7k stars 1.19k forks source link

How to run the webapp locally #223

Closed AetherUnbound closed 2 years ago

AetherUnbound commented 2 years ago

Hi there! I'm interested in running the webapp locally. I've tried the following, but I end up with a Service unavailable, status: 403 message. Do you know how I might be able to run this on my own machine?

I've added .streamlit/secrets.toml with the contents:

BACKEND_SERVER = "http://localhost:8502"

Then in one terminal I ran streamlit run app/streamlit/backend.py and in another I ran streamlit run app/streamlit/app.py. However as described, I get the error message above (and pictured below).

Screenshot_2022-06-10_09-12-39

I'd be happy to contribute these instructions to the README.md once I get it up and running!

borisdayma commented 2 years ago

Look at the Dalle playground

On Fri, Jun 10, 2022, 11:13 Madison Swain-Bowden @.***> wrote:

Hi there! I'm interested in running the webapp locally. I've tried the following, but I end up with a Service unavailable, status: 403 message. Do you know how I might be able to run this on my own machine?

I've added .streamlit/secrets.toml with the contents:

BACKEND_SERVER = "http://localhost:8502"

Then in one terminal I ran streamlit run app/streamlit/backend.py and in another I ran streamlit run app/streamlit/app.py. However as described, I get the error message above (and pictured below).

[image: Uploading Screenshot_2022-06-10_09-12-39.png…]

I'd be happy to contribute these instructions to the README.md once I get it up and running!

— Reply to this email directly, view it on GitHub https://github.com/borisdayma/dalle-mini/issues/223, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFOVY7TC32XB5QP64UVTZLVONSTDANCNFSM5YOFQXDQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

AetherUnbound commented 2 years ago

Got it, thanks! For future visitors, that's located here: https://github.com/saharmor/dalle-playground