Update .env.local.template
Browse files- .env.local.template +10 -33
.env.local.template
CHANGED
@@ -20,45 +20,22 @@ OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.go
|
|
20 |
|
21 |
|
22 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
23 |
-
MODELS=`[
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
}, {
|
33 |
-
"title": "What is a meme?",
|
34 |
-
"prompt": "What is a meme, and what's the history behind this word?"
|
35 |
-
}, {
|
36 |
-
"title": "Regex",
|
37 |
-
"prompt": "Create a regex to extract dates from logs"
|
38 |
-
}
|
39 |
-
],
|
40 |
-
"endpoints": [
|
41 |
-
{
|
42 |
-
"type": "tgi",
|
43 |
-
"url": "http://127.0.0.1:8080"
|
44 |
-
}
|
45 |
-
],
|
46 |
-
"parameters": ${MODEL_PARAMS}
|
47 |
-
}
|
48 |
-
]`
|
49 |
OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
|
50 |
|
51 |
PUBLIC_ORIGIN=${SPACE_HOST}
|
52 |
PUBLIC_SHARE_PREFIX=${SPACE_HOST}/r
|
53 |
PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
|
54 |
PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
|
55 |
-
|
56 |
-
{
|
57 |
-
"title": "Chat UI is now open sourced on GitHub",
|
58 |
-
"linkTitle": "GitHub repo",
|
59 |
-
"linkHref": "https://github.com/huggingface/chat-ui"
|
60 |
-
}
|
61 |
-
]`
|
62 |
|
63 |
PARQUET_EXPORT_DATASET=
|
64 |
PARQUET_EXPORT_HF_TOKEN=
|
|
|
20 |
|
21 |
|
22 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
23 |
+
MODELS=`[{
|
24 |
+
"name": "canopy",
|
25 |
+
"displayName": "canopy",
|
26 |
+
"endpoints": [{
|
27 |
+
"type" : "openai",
|
28 |
+
"baseURL": "https://canopy-xbis2suaxq-uw.a.run.app/v1"
|
29 |
+
}]
|
30 |
+
}]`
|
31 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
|
33 |
|
34 |
PUBLIC_ORIGIN=${SPACE_HOST}
|
35 |
PUBLIC_SHARE_PREFIX=${SPACE_HOST}/r
|
36 |
PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
|
37 |
PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
|
38 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
PARQUET_EXPORT_DATASET=
|
41 |
PARQUET_EXPORT_HF_TOKEN=
|