In this post we'll use model version v1-4, so before use you'll need to visit this card, read the license and tick the checkbox if you agree.
- Make sure you're logged in Huggingface
Example for terminal:
huggingface-cli login
Example for notebook:
from huggingface_hub import notebook_login
notebook_login()
- Install requirements
pip install -r requirements.txt
- Run app.py
streamlit run path_to_app.py
based on: | Streamlit |
---|---|
update: | 23.08.2022 |