xcx0902 commited on
Commit
fb8fc5f
·
verified ·
1 Parent(s): f146db9

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -2
  2. __pycache__/app.cpython-311.pyc +0 -0
  3. app.py +1 -0
Dockerfile CHANGED
@@ -10,5 +10,4 @@ COPY --chown=user ./requirements.txt requirements.txt
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
  COPY --chown=user . /app
13
- CMD ["python", "app.py", "&"]
14
- CMD ["uvicorn", "keepalive:app", "--host", "0.0.0.0", "--port", "7860"]
 
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
  COPY --chown=user . /app
13
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
__pycache__/app.cpython-311.pyc CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
 
app.py CHANGED
@@ -5,6 +5,7 @@ import requests
5
  import time
6
  import openai
7
  import random
 
8
 
9
  intents = discord.Intents.default()
10
  intents.message_content = True
 
5
  import time
6
  import openai
7
  import random
8
+ import keepalive
9
 
10
  intents = discord.Intents.default()
11
  intents.message_content = True