Spaces:
Runtime error
Runtime error
How do I change the chatbot model
#2
by
lachine
- opened
I tried everything
You have to run your own copy of this code base or space. We are passing the env var GPT_H2O_AI=1
or HUGGINGFACE_SPACES
to tell the chat bot to disallow changing models, since it's a public space and we don't want everyone to be in control of everyone's shared chat bot.
https://github.com/h2oai/h2ogpt/blob/0319dcf081b7e6540b46887aa0c83bfea3ca5413/generate.py#L345-L347