Spaces:
Running
how do dupe this space?
what is DOTENV_LOCAL? and how do i get it
It's a file with env variables you don't want to expose (.env.local) So basically a duplicate of .env
Sm1 tell me in basic words/Vid?
This might help: https://huggingface.co/spaces/huggingchat/chat-ui/discussions/140
i Just wanta dupe it on hugging face not onother VM (dont wanta pay)
https://huggingface.co/spaces/DaFujaTyping/hf-Chat-ui
https://huggingface.co/spaces/coyotte508/chat-ui
PLZ
@Toaster496
In order to duplicate a space first you will need a .env
secret with your own MONGODB_URL
and HF_ACCESS_TOKEN
. As a template you can copy the one from github.
Now you need to fill in your two variables:
HF_ACCESS_TOKEN
: You can get that one from your profile.MONGODB_URL
: You will need to spin up your own MongoDB instance. You could try using the free tier from MongoDB Atlas, it should be enough for your needs.
Now fill those variables in the template from earlier. Now you're ready to duplicate the space, once you do so, paste the content of your modified .env
inside of DOTENV_LOCAL
and that should be it!
THANK YOU SOOO MUCH
wait still dont get it(i have mongodb but no clue how to get url thingi)