nsarrazin HF staff commited on
Commit
9559987
1 Parent(s): ed2da7e

fix sharing

Browse files
Files changed (1) hide show
  1. .env.local.template +4 -3
.env.local.template CHANGED
@@ -49,8 +49,8 @@ MODELS=`[
49
  ]`
50
  OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
51
 
52
- PUBLIC_ORIGIN=https://huggingface.co
53
- PUBLIC_SHARE_PREFIX=https://hf.co/chat
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=`[
@@ -68,4 +68,5 @@ PARQUET_EXPORT_SECRET=
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
 
 
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=`[
 
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