ddebree commited on
Commit
65a8fdb
·
verified ·
1 Parent(s): 86ceeb9

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. Dockerfile +2 -2
  2. README.md +2 -1
  3. requirements.txt +0 -7
Dockerfile CHANGED
@@ -12,12 +12,12 @@ RUN apt-get update \
12
  && apt-get install -y --no-install-recommends git \
13
  && rm -rf /var/lib/apt/lists/*
14
 
15
- COPY pyproject.toml README.md requirements.txt ./
16
  COPY src ./src
17
  COPY app.py ./
18
 
19
  RUN pip install --no-cache-dir --upgrade pip \
20
- && pip install --no-cache-dir -r requirements.txt
21
 
22
  EXPOSE 7860
23
 
 
12
  && apt-get install -y --no-install-recommends git \
13
  && rm -rf /var/lib/apt/lists/*
14
 
15
+ COPY pyproject.toml README.md ./
16
  COPY src ./src
17
  COPY app.py ./
18
 
19
  RUN pip install --no-cache-dir --upgrade pip \
20
+ && pip install --no-cache-dir -e ".[app,jepa]"
21
 
22
  EXPOSE 7860
23
 
README.md CHANGED
@@ -134,7 +134,8 @@ make check
134
  ## Hugging Face Spaces
135
 
136
  Deze repo is voorbereid als Docker Space. De hosted entrypoint is `app.py`; die maakt
137
- demo-data aan en start daarna de Streamlit explorer.
 
138
 
139
  Belangrijk voor V-JEPA:
140
 
 
134
  ## Hugging Face Spaces
135
 
136
  Deze repo is voorbereid als Docker Space. De hosted entrypoint is `app.py`; die maakt
137
+ demo-data aan en start daarna de Streamlit explorer. Dependencies staan in
138
+ `pyproject.toml`; Docker installeert met `pip install -e ".[app,jepa]"`.
139
 
140
  Belangrijk voor V-JEPA:
141
 
requirements.txt DELETED
@@ -1,7 +0,0 @@
1
- --extra-index-url https://download.pytorch.org/whl/cpu
2
- -e .
3
- streamlit>=1.35
4
- numpy>=1.26
5
- torch>=2.4
6
- torchvision>=0.19
7
- transformers==5.6.2