Is Duplicate this space is possible ?

#40
by Yush01 - opened

Hello,

I'd like to duplicate this space to play around with the code but it says: "This Space has 3 secret and 2 variables that may be needed for it to work properly."

What do I have to do here? Thanks!

Hi @yuchenglow
Yes it's possible.
You can find the different variables in the .env.example as well.

OAUTH_CLIENT_ID => the client ID of your hugging face application (for the authentification)
OAUTH_CLIENT_SECRET the client SECRET of your hugging face application (for the authentification)
APP_PORT the running port for your application (has to be the same as in your readme)
REDIRECT_URI still linked to the authentification, you have to allow this url as well in your application
DEFAULT_HF_TOKENnot required but used for the default requests if you are not logged

enzostvs changed discussion status to closed
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment