raccoon / README.md
grapplerulrich's picture
try pthon 3.9
a69d4fe
|
raw
history blame
1 kB
metadata
title: Raccoon
emoji: 🦝
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: 1.2.0
python_version: 3.9
app_file: app.py
pinned: false
license: mit

Raccoon

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