lainlives commited on
Commit
cc2f72b
·
verified ·
1 Parent(s): 2ac2fa0

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. wheelmaker.py +1 -1
Dockerfile CHANGED
@@ -32,6 +32,7 @@ RUN apt-get install -y --no-install-recommends --fix-missing \
32
  RUN pip install -U setuptools pip --break-system-packages --ignore-installed && pip install fastapi huggingface_hub uvicorn virtualenv apscheduler --ignore-installed --break-system-package
33
 
34
  WORKDIR /app
 
35
 
36
  COPY . .
37
 
 
32
  RUN pip install -U setuptools pip --break-system-packages --ignore-installed && pip install fastapi huggingface_hub uvicorn virtualenv apscheduler --ignore-installed --break-system-package
33
 
34
  WORKDIR /app
35
+ EXPOSE 7860
36
 
37
  COPY . .
38
 
wheelmaker.py CHANGED
@@ -41,7 +41,7 @@ def clone_repo(work_dir, repo):
41
 
42
  def build_wheels(work_dir):
43
  """Builds wheels for each specified Python version."""
44
- repo_name = repo.split("/")[-1].replace(".git", "")
45
  project_path = work_dir
46
 
47
  # Check if git clone created a subdirectory (standard behavior)
 
41
 
42
  def build_wheels(work_dir):
43
  """Builds wheels for each specified Python version."""
44
+ # repo_name = repo.split("/")[-1].replace(".git", "")
45
  project_path = work_dir
46
 
47
  # Check if git clone created a subdirectory (standard behavior)