Skip to content

sobkevich/streamlit-copilot

Repository files navigation

Streamlit Copilot

Copilot light Copilot dark

To run the component locally:

  1. Ensure that you have correct versions of Node and NPM installed:
  • npm version: 6.14.13
  • node version: 14.17.3
  1. Run the following command in the root directory of the project:
cd component/frontend
npm install
npm run start
  1. Create venv
  2. Install streamlit
pip install streamlit
  1. In component/__init__.py file:
  • replace "YOUR_API_URL" with the actual URL of the API that provides LLM text completion responses (example)
  • set _RELEASE = False
  1. Run the following command in the root directory of the project (in a separate terminal):
streamlit run component/__init__.py

About

Streamlit component: Copilot text autocomplete

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published