Spaces:
Running
Running
title: Mixtral Search Engine | |
emoji: π | |
colorFrom: pink | |
colorTo: gray | |
sdk: streamlit | |
sdk_version: 1.29.0 | |
app_file: app.py | |
pinned: false | |
license: mit | |
# Mixtral Search Engine | |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
## Docker Setup | |
If you prefer using Docker, follow these steps: | |
1. Clone the repository. | |
2. Create a `.env` file to store API credentials. | |
``` | |
HF_TOKEN = ... | |
GOOGLE_SEARCH_ENGINE_ID = ... | |
GOOGLE_SEARCH_API_KEY = ... | |
BING_SEARCH_API_KEY = ... | |
``` | |
3. Build docker image using | |
``` | |
docker build -t mixtral-search . | |
``` | |
4. Run the image using | |
``` | |
docker run --env-file .env -p 8501:8501 mixtral-search | |
``` | |