Spaces:
Runtime error
Runtime error
Delete .env.local.template
Browse files- .env.local.template +0 -72
.env.local.template
DELETED
@@ -1,72 +0,0 @@
|
|
1 |
-
# Use .env.local to change these variables
|
2 |
-
# DO NOT EDIT THIS FILE WITH SENSITIVE DATA
|
3 |
-
|
4 |
-
MONGODB_URL=${MONGODB_URL}
|
5 |
-
MONGODB_DB_NAME=chat-ui
|
6 |
-
MONGODB_DIRECT_CONNECTION=false
|
7 |
-
|
8 |
-
|
9 |
-
COOKIE_NAME=chat-ui
|
10 |
-
HF_ACCESS_TOKEN=#hf_<token> from from https://huggingface.co/settings/token
|
11 |
-
|
12 |
-
# used to activate search with web functionality. disabled if not defined
|
13 |
-
SERPAPI_KEY=#your serpapi key here
|
14 |
-
|
15 |
-
# Parameters to enable "Sign in with HF"
|
16 |
-
OPENID_CLIENT_ID=
|
17 |
-
OPENID_CLIENT_SECRET=
|
18 |
-
OPENID_SCOPES="openid profile" # Add "email" for some providers like Google that do not provide preferred_username
|
19 |
-
OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.google.com
|
20 |
-
|
21 |
-
|
22 |
-
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
23 |
-
MODELS=`[
|
24 |
-
{
|
25 |
-
"name": "${MODEL_NAME}",
|
26 |
-
"userMessageToken": "<|prompter|>",
|
27 |
-
"assistantMessageToken": "<|assistant|>",
|
28 |
-
"messageEndToken": "<|endoftext|>",
|
29 |
-
"preprompt": "",
|
30 |
-
"promptExamples": [
|
31 |
-
{
|
32 |
-
"title": "Python Fibonacci",
|
33 |
-
"prompt": "How can I write a Python function to generate the nth Fibonacci number?"
|
34 |
-
}, {
|
35 |
-
"title": "What is a meme?",
|
36 |
-
"prompt": "What is a meme, and what's the history behind this word?"
|
37 |
-
}, {
|
38 |
-
"title": "Regex",
|
39 |
-
"prompt": "Create a regex to extract dates from logs"
|
40 |
-
}
|
41 |
-
],
|
42 |
-
"endpoints": [
|
43 |
-
{
|
44 |
-
"url": "http://127.0.0.1:8080"
|
45 |
-
}
|
46 |
-
],
|
47 |
-
"parameters": ${MODEL_PARAMS}
|
48 |
-
}
|
49 |
-
]`
|
50 |
-
OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
|
51 |
-
|
52 |
-
PUBLIC_ORIGIN=${SPACE_HOST}
|
53 |
-
PUBLIC_SHARE_PREFIX=${SPACE_HOST}/r
|
54 |
-
PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
|
55 |
-
PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
|
56 |
-
PUBLIC_ANNOUNCEMENT_BANNERS=`[
|
57 |
-
{
|
58 |
-
"title": "Chat UI is now open sourced on GitHub",
|
59 |
-
"linkTitle": "GitHub repo",
|
60 |
-
"linkHref": "https://github.com/huggingface/chat-ui"
|
61 |
-
}
|
62 |
-
]`
|
63 |
-
|
64 |
-
PARQUET_EXPORT_DATASET=
|
65 |
-
PARQUET_EXPORT_HF_TOKEN=
|
66 |
-
PARQUET_EXPORT_SECRET=
|
67 |
-
|
68 |
-
PUBLIC_APP_NAME=${APP_NAME} # name used as title throughout the app
|
69 |
-
PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETS
|
70 |
-
PUBLIC_APP_COLOR=${APP_COLOR} # can be any of tailwind colors: https://tailwindcss.com/docs/customizing-colors#default-color-palette
|
71 |
-
PUBLIC_APP_DATA_SHARING=#set to 1 to enable disclaimers & options about data sharing
|
72 |
-
PUBLIC_APP_DATA_DISCLAIMER=#set to 1 to enable disclaimers about model outputs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|