Spaces:
Runtime error
Runtime error
Commit
·
fba3d5f
1
Parent(s):
f8f5002
debugging
Browse files- Dockerfile +2 -1
- README.md +1 -1
- temps/app.py +0 -6
Dockerfile
CHANGED
@@ -10,7 +10,8 @@ RUN useradd -m -u 1000 user
|
|
10 |
USER user
|
11 |
|
12 |
# Install the necessary GitHub repositories
|
13 |
-
RUN pip install git+https://github.com/lauracabayol/TEMPS.git
|
|
|
14 |
RUN python -c "import temps"
|
15 |
|
16 |
# Set environment variables for the user
|
|
|
10 |
USER user
|
11 |
|
12 |
# Install the necessary GitHub repositories
|
13 |
+
RUN pip install git+https://github.com/lauracabayol/TEMPS.git && \
|
14 |
+
pip show temps
|
15 |
RUN python -c "import temps"
|
16 |
|
17 |
# Set environment variables for the user
|
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: 🥋
|
4 |
colorFrom: blue
|
5 |
colorTo: red
|
|
|
1 |
---
|
2 |
+
title: Photo-z predictor
|
3 |
emoji: 🥋
|
4 |
colorFrom: blue
|
5 |
colorTo: red
|
temps/app.py
CHANGED
@@ -102,12 +102,6 @@ def get_args() -> argparse.Namespace:
|
|
102 |
help="Path to the input CSV file",
|
103 |
)
|
104 |
|
105 |
-
parser.add_argument(
|
106 |
-
"--model-path",
|
107 |
-
type=Path,
|
108 |
-
help="Path to the model files",
|
109 |
-
)
|
110 |
-
|
111 |
parser.add_argument(
|
112 |
"--port",
|
113 |
type=int,
|
|
|
102 |
help="Path to the input CSV file",
|
103 |
)
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
parser.add_argument(
|
106 |
"--port",
|
107 |
type=int,
|