Spaces:
Running
Running
File size: 553 Bytes
f62b8d3 f42b4a1 f62b8d3 f70dd7e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import { Credentials } from "@/lib/huggingface/hub/src"
export const adminApiKey = `${process.env.ADMIN_HUGGING_FACE_API_TOKEN || ""}`
export const adminUsername = `${process.env.ADMIN_HUGGING_FACE_USERNAME || ""}`
export const adminCredentials: Credentials = { accessToken: adminApiKey }
export const redisUrl = `${process.env.UPSTASH_REDIS_REST_URL || ""}`
export const redisToken = `${process.env.UPSTASH_REDIS_REST_TOKEN || ""}`
export const developerMode = `${
process.env.NEXT_PUBLIC_DEVELOPER_MODE || ""
}`.trim().toLowerCase() === "true"
|