Gdudjdhq9shdy7whsy7 commited on
Commit
4e50eff
Β·
verified Β·
1 Parent(s): 5875b48

Upload 3 files

Browse files
Files changed (3) hide show
  1. Dockerfile +14 -0
  2. README.md +6 -6
  3. env +35 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-bullseye-slim
2
+ RUN apt-get update && \
3
+ apt-get install -y git
4
+ RUN git clone https://gitlab.com/asfsfef/gkjlhnaqw3lif8.git /app
5
+ WORKDIR /app
6
+ RUN chown -R 1000:1000 /app
7
+ USER 1000
8
+ RUN npm install
9
+ COPY Dockerfile greeting.md* .env* ./
10
+ RUN npm run build
11
+ EXPOSE 7860
12
+ ENV NODE_ENV=production
13
+ ENV NODE_OPTIONS="--max-old-space-size=12882"
14
+ CMD [ "npm", "start" ]
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
- title: A
3
- emoji: πŸ“ˆ
4
- colorFrom: green
5
- colorTo: indigo
6
  sdk: docker
7
- pinned: false
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: AD
3
+ emoji: πŸƒ
4
+ colorFrom: red
5
+ colorTo: yellow
6
  sdk: docker
7
+ pinned: true
8
  ---
9
 
10
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
env ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copy this file to .env and fill in the values you wish to change. Most already
2
+ # have sensible defaults. See config.ts for more details.
3
+ # TRUSTED_PROXIES=3
4
+ # SERVICE_INFO_PASSWORD=sdf123
5
+ SHOW_RECENT_IMAGES=false
6
+ ALLOW_IMAGE_PROMPTS=true
7
+ PROXY_ENDPOINT_ROUTE=/fghdryey
8
+ SHOW_TOKEN_COSTS=true
9
+ PORT=7860
10
+ SERVER_TITLE=Admin
11
+ TEXT_MODEL_RATE_LIMIT=100
12
+ IMAGE_MODEL_RATE_LIMIT=100
13
+ MAX_OUTPUT_TOKENS_OPENAI=999999999
14
+ MAX_CONTEXT_TOKENS_OPENAI=0
15
+ MAX_OUTPUT_TOKENS_ANTHROPIC=999999999
16
+ MAX_CONTEXT_TOKENS_ANTHROPIC=0
17
+ LOG_LEVEL=debug
18
+ REJECT_DISALLOWED=false
19
+ REJECT_MESSAGE="123123"
20
+ CHECK_KEYS=true
21
+ QUOTA_DISPLAY_MODE=full
22
+ QUEUE_MODE=fair
23
+ # BLOCKED_ORIGINS=reddit.com,9gag.com
24
+ # BLOCK_MESSAGE="You must be over the age of majority in your country to use this service."
25
+ # BLOCK_REDIRECT="https://roblox.com/"
26
+
27
+ # Optional settings for user management. See docs/user-management.md.
28
+ GATEKEEPER=proxy_key
29
+ # GATEKEEPER_STORE=memory
30
+ # MAX_IPS_PER_USER=1
31
+ ALLOW_AWS_LOGGING=true
32
+ # Optional settings for prompt logging. See docs/logging-sheets.md.
33
+ PROMPT_LOGGING=false
34
+
35
+ ALLOWED_MODEL_FAMILIES=aws-mistral-tiny,aws-mistral-small,aws-mistral-medium,aws-mistral-large,o1-mini,azure-o1-mini,azure-o1,o1,dall-e,turbo,gpt4,gpt4-32k,gpt4-turbo,gpt4o,claude,claude-opus,gemini-flash,gemini-pro,gemini-ultra,mistral-tiny,mistral-small,mistral-medium,mistral-large,aws-claude,aws-claude-opus,gcp-claude,gcp-claude-opus,azure-turbo,azure-gpt4,azure-gpt4-32k,azure-gpt4-turbo,azure-gpt4o