#[solved] huggingface

1 messages · Page 1 of 1 (latest)

delicate patio
lament gull
#

the first error shouldn't prevent it from strarting, I have the same error on the demo and it,s running fine: 2023-12-15 22:12:32 info: REDIS_URI not provided. Redis module will not be initialized.

delicate patio
#

its showing runtime err

lament gull
#

I know, I'm not sure what's your second error about an invalid API key tho

delicate patio
#

i added every secret/variable

lament gull
#

did you clone the template (as opposed to the currently running demo)?

delicate patio
#

ye

lament gull
delicate patio
#

ok ill try

#

btw secret files on render work or no?

lament gull
lament gull
delicate patio
#

i also tried hosting on render it didnt work

lament gull
#

the principle between both are very similar, the things you have the most chances to make an error is getting the mongo connection strings, make sure to pay close attention to the online mongodb instructions when doing that step

delicate patio
#

its running tysm

delicate patio
#

btw if i want to edit something in the src code how can i do that

lament gull
#

You can’t really do it easily from hugging face since it’s pulling a prebuilt docker image (it’s probably possible, it’s just complicated to edit inside an image)

delicate patio
#

like i want to change google models

lament gull
lament gull
lament gull
#

@delicate patio The option to edit google's model has been added earlier today! To use it, make a new variable

  • Name: GOOGLE_MODELS
  • Value: gemini-pro,gemini-pro-vision,chat-bison,chat-bison-32k,codechat-bison,codechat-bison-32k,text-bison,text-bison-32k,text-unicorn,code-gecko,code-bison,code-bison-32k

You can edit the value to only display the models you want