Spaces:
Runtime error
Runtime error
Lev McKinney
commited on
Commit
β’
b001abb
1
Parent(s):
cf98901
reset to using built in gradio applet
Browse files- Dockerfile +0 -21
- README.md +4 -2
- requirements.txt +0 -1
Dockerfile
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
FROM python:3.10
|
2 |
-
|
3 |
-
WORKDIR /app
|
4 |
-
|
5 |
-
COPY ./requirements.txt /app/requirements.txt
|
6 |
-
|
7 |
-
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
8 |
-
|
9 |
-
# User
|
10 |
-
RUN useradd -m -u 1000 user
|
11 |
-
USER user
|
12 |
-
ENV HOME /home/user
|
13 |
-
ENV PATH $HOME/.local/bin:$PATH
|
14 |
-
|
15 |
-
WORKDIR $HOME
|
16 |
-
RUN mkdir app
|
17 |
-
WORKDIR $HOME/app
|
18 |
-
COPY . $HOME/app
|
19 |
-
|
20 |
-
EXPOSE 8501
|
21 |
-
CMD streamlit run app.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -3,8 +3,10 @@ title: Tuned Lens
|
|
3 |
emoji: π
|
4 |
colorFrom: pink
|
5 |
colorTo: blue
|
6 |
-
sdk:
|
7 |
-
|
|
|
|
|
8 |
pinned: false
|
9 |
license: mit
|
10 |
---
|
|
|
3 |
emoji: π
|
4 |
colorFrom: pink
|
5 |
colorTo: blue
|
6 |
+
sdk: gradio
|
7 |
+
python_version: 3.10.2
|
8 |
+
sdk_version: 3.20.0
|
9 |
+
app_file: app.py
|
10 |
pinned: false
|
11 |
license: mit
|
12 |
---
|
requirements.txt
CHANGED
@@ -1,2 +1 @@
|
|
1 |
tuned_lens==0.0.5
|
2 |
-
streamlit
|
|
|
1 |
tuned_lens==0.0.5
|
|