1. Get an API Key
Open the Anyfast console and sign up (or log in if you already have an account). After signing up, go to API Keys, create a new API Key, and copy it for later use.2. Deploy MindSearch
Clone MindSearch and install dependencies (see the MindSearch README). Edit/path/to/MindSearch/mindsearch/models.py and add the Anyfast API configuration:
3. Deploy to HuggingFace Space
You can also deploy to HuggingFace Spaces:- Create a new Space at huggingface.co/new-space with Gradio template and Blank configuration.
- Go to Settings and add your Anyfast API Key as a secret.
- Upload the MindSearch directory,
requirements.txt, and anapp.pyfile.