Spaces:
Sleeping
Sleeping
Julian Bilcke
commited on
Commit
·
8a579f9
1
Parent(s):
1a028c6
investigating env var issues
Browse files- .env +5 -11
- src/app/interface/top-menu/index.tsx +1 -1
.env
CHANGED
|
@@ -14,22 +14,16 @@ RENDERING_ENGINE="INFERENCE_API"
|
|
| 14 |
LLM_ENGINE="INFERENCE_API"
|
| 15 |
|
| 16 |
# set this to control the number of pages
|
| 17 |
-
NEXT_PUBLIC_MAX_NB_PAGES=
|
| 18 |
-
|
| 19 |
-
# Not implemented for the Inference API yet - you can submit a PR if you have some ideas
|
| 20 |
-
NEXT_PUBLIC_CAN_UPSCALE="false"
|
| 21 |
-
|
| 22 |
-
# Not implemented for the Inference API yet - you can submit a PR if you have some ideas
|
| 23 |
-
NEXT_PUBLIC_CAN_REDRAW="false"
|
| 24 |
|
| 25 |
# Set to "true" to create artificial delays and smooth out traffic
|
| 26 |
NEXT_PUBLIC_ENABLE_RATE_LIMITER="false"
|
| 27 |
|
| 28 |
# ------------- HUGGING FACE OAUTH -------------
|
| 29 |
-
NEXT_PUBLIC_ENABLE_HUGGING_FACE_OAUTH=
|
| 30 |
-
NEXT_PUBLIC_ENABLE_HUGGING_FACE_OAUTH_WALL=
|
| 31 |
-
NEXT_PUBLIC_HUGGING_FACE_OAUTH_CLIENT_ID=""
|
| 32 |
-
HUGGING_FACE_OAUTH_SECRET=""
|
| 33 |
|
| 34 |
# ------------- PROVIDER AUTH ------------
|
| 35 |
# You only need to configure the access token(s) for the provider(s) you want to use
|
|
|
|
| 14 |
LLM_ENGINE="INFERENCE_API"
|
| 15 |
|
| 16 |
# set this to control the number of pages
|
| 17 |
+
#NEXT_PUBLIC_MAX_NB_PAGES=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
# Set to "true" to create artificial delays and smooth out traffic
|
| 20 |
NEXT_PUBLIC_ENABLE_RATE_LIMITER="false"
|
| 21 |
|
| 22 |
# ------------- HUGGING FACE OAUTH -------------
|
| 23 |
+
#NEXT_PUBLIC_ENABLE_HUGGING_FACE_OAUTH=
|
| 24 |
+
#NEXT_PUBLIC_ENABLE_HUGGING_FACE_OAUTH_WALL=
|
| 25 |
+
#NEXT_PUBLIC_HUGGING_FACE_OAUTH_CLIENT_ID=""
|
| 26 |
+
#HUGGING_FACE_OAUTH_SECRET=""
|
| 27 |
|
| 28 |
# ------------- PROVIDER AUTH ------------
|
| 29 |
# You only need to configure the access token(s) for the provider(s) you want to use
|
src/app/interface/top-menu/index.tsx
CHANGED
|
@@ -237,7 +237,7 @@ export function TopMenu() {
|
|
| 237 |
value={draftPromptB}
|
| 238 |
/>
|
| 239 |
<Input
|
| 240 |
-
placeholder="2. Style (eg 'rain, shiba
|
| 241 |
className="w-1/2 bg-neutral-300 text-neutral-800 dark:bg-neutral-300 dark:text-neutral-800 border-l-stone-100 rounded-l-none rounded-r-none"
|
| 242 |
// disabled={atLeastOnePanelIsBusy}
|
| 243 |
onChange={(e) => {
|
|
|
|
| 237 |
value={draftPromptB}
|
| 238 |
/>
|
| 239 |
<Input
|
| 240 |
+
placeholder="2. Style (eg 'rain, shiba')"
|
| 241 |
className="w-1/2 bg-neutral-300 text-neutral-800 dark:bg-neutral-300 dark:text-neutral-800 border-l-stone-100 rounded-l-none rounded-r-none"
|
| 242 |
// disabled={atLeastOnePanelIsBusy}
|
| 243 |
onChange={(e) => {
|