Bram Vanroy
commited on
Commit
β’
d5db8f1
1
Parent(s):
f7d22db
use streamlit sdk directly
Browse files- Dockerfile +0 -22
- README.md +6 -2
- requirements.txt +0 -1
Dockerfile
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
FROM python:3.10.7
|
2 |
-
|
3 |
-
WORKDIR /app
|
4 |
-
|
5 |
-
COPY ./requirements.txt /app/requirements.txt
|
6 |
-
|
7 |
-
RUN apt-get update && apt-get install -y && rm -rf /var/lib/apt/lists/*
|
8 |
-
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
9 |
-
|
10 |
-
# User
|
11 |
-
RUN useradd -m -u 1000 user
|
12 |
-
USER user
|
13 |
-
ENV HOME /home/user
|
14 |
-
ENV PATH $HOME/.local/bin:$PATH
|
15 |
-
|
16 |
-
WORKDIR $HOME
|
17 |
-
RUN mkdir app
|
18 |
-
WORKDIR $HOME/app
|
19 |
-
COPY . $HOME/app
|
20 |
-
|
21 |
-
EXPOSE 8501
|
22 |
-
CMD streamlit run app.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -3,11 +3,15 @@ title: Dutch Simplification
|
|
3 |
emoji: π
|
4 |
colorFrom: indigo
|
5 |
colorTo: yellow
|
6 |
-
sdk:
|
7 |
-
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: cc-by-nc-sa-4.0
|
|
|
|
|
|
|
|
|
11 |
tags:
|
12 |
- natural language processing
|
13 |
- simplification
|
|
|
3 |
emoji: π
|
4 |
colorFrom: indigo
|
5 |
colorTo: yellow
|
6 |
+
sdk: streamlit
|
7 |
+
sdk_version: 1.19.0
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: cc-by-nc-sa-4.0
|
11 |
+
models:
|
12 |
+
- BramVanroy/ul2-base-dutch-simplification-mai-2023
|
13 |
+
datasets:
|
14 |
+
- BramVanroy/chatgpt-dutch-simplification
|
15 |
tags:
|
16 |
- natural language processing
|
17 |
- simplification
|
requirements.txt
CHANGED
@@ -6,4 +6,3 @@ sacremoses==0.0.53
|
|
6 |
sentencepiece==0.1.99
|
7 |
streamlit==1.19.0
|
8 |
transformers==4.29.2
|
9 |
-
tornado==6.3.2
|
|
|
6 |
sentencepiece==0.1.99
|
7 |
streamlit==1.19.0
|
8 |
transformers==4.29.2
|
|