Deploy your RAG application to gradio.app platform
ec
in embedchain that inherits the template for gradio.app
platform and help you deploy the app. Follow the instructions to create a gradio.app app using the template provided:
pip install embedchain
mkdir my-rag-app
ec create --template=gradio.app
โโโ app.py
โโโ embedchain.json
โโโ requirements.txt
app.py
: Contains API app codeembedchain.json
: Contains embedchain specific configuration for deployment (you donโt need to configure this)requirements.txt
: Contains python dependencies for your applicationpip install -r requirements.txt
ec dev
ec deploy
gradio deploy
which will prompt you questions and deploy your app directly to huggingface spaces.
Was this page helpful?