Spaces:
Running
Running
metadata
title: Ebook Gen
emoji: 🐢
colorFrom: pink
colorTo: gray
sdk: streamlit
sdk_version: 1.29.0
app_file: app.py
pinned: false
license: mit
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Setup
Clone this repo
Create and activate a new virtual environment, using either
conda
orvenv
Make a .env file, for storing api credentials, currently using these 4 credentials.
HF_TOKEN = ... GOOGLE_SEARCH_ENGINE_ID = ... GOOGLE_SEARCH_API_KEY = ... BING_SEARCH_API_KEY = ...
Install requirements using
pip install -r requirements.txt --user
Startup streamlit server by using
streamlit run app.py
or
python -m streamlit run app.py