Spaces:
Sleeping
Sleeping
metadata
title: DeployPythonicRAG
emoji: π
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
license: apache-2.0
Deploying Pythonic Chat With Your Text File Application
In today's breakout rooms, we will be following the processed that you saw during the challenge - for reference, the instructions for that are available here.
Today, we will repeat the same process - but powered by our Pythonic RAG implementation we created last week.
You'll notice a few differences in the app.py
logic - as well as a few changes to the aimakerspace
package to get things working smoothly with Chainlit.
Deploying the Application to Hugging Face Space
Due to the way the repository is created - it should be straightforward to deploy this to a Hugging Face Space!
Creating a Hugging Face Space
- Navigate to the
Spaces
tab.
- Click on
Create new Space
- Create the Space by providing values in the form. Make sure you've selected "Docker" as your Space SDK.
Adding this Repository to the Newly Created Space
- Collect the SSH address from the newly created Space.
NOTE: The address is the component that starts with
[email protected]:spaces/
.
- Use the command:
git remote add hf HF_SPACE_SSH_ADDRESS_HERE
- Use the command:
git pull hf main --no-rebase --allow-unrelated-histories -X ours
4.