Spaces:
Runtime error
Runtime error
Commit
·
d623ae8
1
Parent(s):
83da884
fixes
Browse files- Dockerfile +2 -3
- README.md +2 -4
- run.py +1 -1
Dockerfile
CHANGED
@@ -2,8 +2,6 @@ FROM python:3.9
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
ENV HOME=/code
|
5 |
-
# COPY ./requirements.txt /code/requirements.txt
|
6 |
-
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
7 |
|
8 |
RUN apt install curl
|
9 |
RUN pip install pip -U
|
@@ -11,9 +9,10 @@ RUN pip install pip -U
|
|
11 |
RUN pip install renumics-spotlight==1.2.0rc2
|
12 |
|
13 |
RUN pip install datasets
|
|
|
|
|
14 |
|
15 |
COPY . .
|
16 |
RUN mkdir -p /code/.cache
|
17 |
RUN chmod -R 777 /code
|
18 |
-
RUN python prepare.py
|
19 |
CMD ["python", "run.py"]
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
ENV HOME=/code
|
|
|
|
|
5 |
|
6 |
RUN apt install curl
|
7 |
RUN pip install pip -U
|
|
|
9 |
RUN pip install renumics-spotlight==1.2.0rc2
|
10 |
|
11 |
RUN pip install datasets
|
12 |
+
COPY prepare.py .
|
13 |
+
RUN python prepare.py
|
14 |
|
15 |
COPY . .
|
16 |
RUN mkdir -p /code/.cache
|
17 |
RUN chmod -R 777 /code
|
|
|
18 |
CMD ["python", "run.py"]
|
README.md
CHANGED
@@ -8,14 +8,12 @@ pinned: false
|
|
8 |
license: mit
|
9 |
app_file: run.py
|
10 |
datasets:
|
11 |
-
- renumics/
|
12 |
-
-
|
13 |
tags:
|
14 |
- renumics
|
15 |
- spotlight
|
16 |
- EDA
|
17 |
-
- enriched
|
18 |
-
duplicated_from: renumics/cifar100-enriched
|
19 |
---
|
20 |
|
21 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
8 |
license: mit
|
9 |
app_file: run.py
|
10 |
datasets:
|
11 |
+
- renumics/cifar10-outlier
|
12 |
+
- cifar10
|
13 |
tags:
|
14 |
- renumics
|
15 |
- spotlight
|
16 |
- EDA
|
|
|
|
|
17 |
---
|
18 |
|
19 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
run.py
CHANGED
@@ -23,7 +23,7 @@ if __name__ == "__main__":
|
|
23 |
view = spotlight.show(
|
24 |
df,
|
25 |
dtype=dtypes,
|
26 |
-
layout="/home/markus/Downloads/layout_ft_hf.json"
|
27 |
port=7860,
|
28 |
host="0.0.0.0",
|
29 |
allow_filebrowsing=False
|
|
|
23 |
view = spotlight.show(
|
24 |
df,
|
25 |
dtype=dtypes,
|
26 |
+
layout="/home/markus/Downloads/layout_ft_hf.json",
|
27 |
port=7860,
|
28 |
host="0.0.0.0",
|
29 |
allow_filebrowsing=False
|