Streamlit component: Copilot text autocomplete
Project description
Streamlit Copilot
To run the component locally:
- Ensure that you have correct versions of Node and NPM installed:
- npm version:
6.14.13
- node version:
14.17.3
- Run the following command in the root directory of the project:
cd streamlit_copilot/frontend
npm install
npm run start
- Create venv
- Install streamlit
pip install streamlit
- In
streamlit_copilot/__init__.py
file:
- replace
"YOUR_API_URL"
with the actual URL of the API that provides LLM text completion responses (example) - set
_RELEASE = False
- Run the following command in the root directory of the project (in a separate terminal):
streamlit run streamlit_copilot/__init__.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit_copilot-0.0.1.tar.gz
(458.2 kB
view details)
Built Distribution
File details
Details for the file streamlit_copilot-0.0.1.tar.gz
.
File metadata
- Download URL: streamlit_copilot-0.0.1.tar.gz
- Upload date:
- Size: 458.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
511278a76b11bea3d9ded0c5f0370b400697ce7df45774acbf42d265142431e6
|
|
MD5 |
5bad9b386b783762cb6d20a6e1d25a3c
|
|
BLAKE2b-256 |
8c461e9363a34067403e42eaade8e8ed99b100c96b615eb9a3f3dff579e5ebdd
|
File details
Details for the file streamlit_copilot-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: streamlit_copilot-0.0.1-py3-none-any.whl
- Upload date:
- Size: 464.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7ebb1ade5e44bb6173281b6c699d5c8b45b59ee2f3b61e2fc4cd1a9d757af463
|
|
MD5 |
f359bfa3eb7726d189f93b801431a144
|
|
BLAKE2b-256 |
86a79ea77e25a0d4b2c038eb9fa321e78bb6db23852a1dc69c886f1b28e07b51
|