streamlit / llm-examples

Streamlit LLM app examples for getting started
https://streamlit.io/generative-ai
Apache License 2.0
613 stars 1.31k forks source link

Add codespaces devcontainer config #1

Closed snehankekre closed 1 year ago

snehankekre commented 1 year ago

Adds a codespaces devcontainer config so that users can run the app on GitHub codespaces. Once the devcontainer is created, the app dependencies are installed, and the Chatbot.py app is auto launched.

JoshuaC215 commented 1 year ago

This is so cool!

When I tried opening it via this link and it started a docker image build that took several minutes.

Is there a way we could optimize this? @sfc-gh-bholt mentioned there were some pre-built images that codespaces keeps warm - if we could swap this to use one of those I think the startup time might be several minutes faster.

I also wonder if there's a way to auto-launch the preview app 🤔 but maybe something to explore in a separate PR.

Adding a couple of links for reference (so I can find them later):

sfc-gh-jcarroll commented 1 year ago

@sfc-gh-cfrasca