Spaces:
Build error
Build error
Update Space
Browse files- Dockerfile +3 -4
- README.md +0 -13
Dockerfile
CHANGED
@@ -1,11 +1,10 @@
|
|
1 |
FROM python:3.11
|
2 |
|
3 |
-
COPY ./Makefile /opt/Makefile
|
4 |
-
COPY ./pyproject.toml /opt/pyproject.toml
|
5 |
WORKDIR /opt
|
6 |
-
RUN
|
7 |
|
8 |
COPY ./src /opt/src
|
|
|
9 |
|
10 |
RUN mkdir -p /.cache/torchrl \
|
11 |
&& mkdir -p /.cache/huggingface \
|
@@ -13,4 +12,4 @@ RUN mkdir -p /.cache/torchrl \
|
|
13 |
&& chmod -R 777 /.cache/huggingface
|
14 |
|
15 |
# Runtime args
|
16 |
-
CMD .venv/bin/python
|
|
|
1 |
FROM python:3.11
|
2 |
|
|
|
|
|
3 |
WORKDIR /opt
|
4 |
+
RUN pip install "litrl[demo]==0.0.11"
|
5 |
|
6 |
COPY ./src /opt/src
|
7 |
+
COPY ./run.py /opt/run.py
|
8 |
|
9 |
RUN mkdir -p /.cache/torchrl \
|
10 |
&& mkdir -p /.cache/huggingface \
|
|
|
12 |
&& chmod -R 777 /.cache/huggingface
|
13 |
|
14 |
# Runtime args
|
15 |
+
CMD .venv/bin/python run.py
|
README.md
CHANGED
@@ -7,16 +7,3 @@ sdk: docker
|
|
7 |
pinned: false
|
8 |
license: mit
|
9 |
---
|
10 |
-
|
11 |
-
frontend adapted from [github](https://github.com/jprioses/connect-four-game)
|
12 |
-
|
13 |
-
Check out the configuration reference at [huggingface](https://huggingface.co/docs/hub/spaces-config-reference)
|
14 |
-
|
15 |
-
## TODO
|
16 |
-
|
17 |
-
only login to hf once
|
18 |
-
|
19 |
-
reload not working
|
20 |
-
|
21 |
-
Connect to AWS database https://aws.amazon.com/rds/?p=ft&c=db&z=3
|
22 |
-
using alembic and sqlmodel
|
|
|
7 |
pinned: false
|
8 |
license: mit
|
9 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|