Streamlit.io
Gradio.app
Using streamlit.io
Step 1: Create a new RAG app
Create a new RAG app using the following command:embedchain.json file in your app directory. Add a name key into the embedchain.json file. This will be the โrepo-nameโ of your app in huggingface spaces.
embedchain.json
Step-2: Test app locally
You can run the app locally by simply doing:Run locally
Step-3: Deploy to huggingface spaces
Deploy to huggingface spaces
https://huggingface.co/spaces/<your-username>/my-rag-app. This will get prompted in the terminal once the app is deployed.
Using gradio.app
Similar to streamlit.io, you can deploy your app to gradio.app in just three steps.Step 1: Create a new RAG app
Create a new RAG app using the following command:embedchain.json file in your app directory. Add a name key into the embedchain.json file. This will be the โrepo-nameโ of your app in huggingface spaces.
embedchain.json
Step-2: Test app locally
You can run the app locally by simply doing:Run locally
Step-3: Deploy to huggingface spaces
Deploy to huggingface spaces
https://huggingface.co/spaces/<your-username>/my-rag-app. This will get prompted in the terminal once the app is deployed.
Seeking help?
If you run into issues with deployment, please feel free to reach out to us via any of the following methods:Talk to founders
Schedule a call
Slack
Join our slack community
Discord
Join our discord community