raccoon / README.md
grapplerulrich's picture
prep for hugging face deployment
edad1fd

Raccoon


title: Raccoon emoji: 🦝 colorFrom: blue colorTo: indigo sdk: streamlit sdk_version: 1.2.0 app_file: app.py pinned: false license: mit

Installation

It is recommend to use virtual environment using venv.

The fol

  • Ceate the virtual envoirnment: python3 -m venv .venv
  • Activate the virtual envoirnment: source venv/bin/activate
    • To deactive the virtual envoirnment run deactivate within the virtual envoirnment.
  • Install the required packages: .venv/bin/pip install -r requirements.txt
  • .venv/bin/pip install -e .
  • Create a custom search engine in Google.
  • Create a API for the custom search engine.
  • Add the custom search engine key and PI key to .streamlit/secrets.toml.
google_search_api_key = "api-key"
google_search_engine_id = "search-engine-id"
  • To start the interface: streamlit run app.py