Spaces:
No application file
No application file
violetteallotey
commited on
Commit
•
e72900a
1
Parent(s):
8b8accf
App file
Browse files- dockerfile +6 -8
- requirements.txt +9 -8
dockerfile
CHANGED
@@ -1,22 +1,20 @@
|
|
1 |
FROM python:3.9
|
2 |
-
|
3 |
WORKDIR /app
|
4 |
|
5 |
-
|
6 |
RUN mkdir -p /.cache/huggingface/hub && chmod -R 777 /.cache
|
7 |
|
8 |
-
|
9 |
ENV TRANSFORMERS_CACHE /.cache/huggingface/hub
|
10 |
|
11 |
-
|
12 |
COPY requirements.txt .
|
13 |
|
14 |
-
|
15 |
-
# change 'sentimentappstreamlit.py' to the actual name of your app. There is one space and a (fullstop)after the name of your app
|
16 |
COPY sentimentapp.py .
|
17 |
|
18 |
-
|
19 |
-
#This code copies the picture unto your hugging face.
|
20 |
COPY senti.jpg .
|
21 |
COPY negative-smiley-face.png .
|
22 |
COPY positive-smiley-face.png .
|
|
|
1 |
FROM python:3.9
|
2 |
+
|
3 |
WORKDIR /app
|
4 |
|
5 |
+
|
6 |
RUN mkdir -p /.cache/huggingface/hub && chmod -R 777 /.cache
|
7 |
|
8 |
+
|
9 |
ENV TRANSFORMERS_CACHE /.cache/huggingface/hub
|
10 |
|
11 |
+
|
12 |
COPY requirements.txt .
|
13 |
|
14 |
+
|
|
|
15 |
COPY sentimentapp.py .
|
16 |
|
17 |
+
|
|
|
18 |
COPY senti.jpg .
|
19 |
COPY negative-smiley-face.png .
|
20 |
COPY positive-smiley-face.png .
|
requirements.txt
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
-
streamlit
|
2 |
-
transformers
|
3 |
-
pandas
|
4 |
-
altair
|
5 |
-
textblob
|
6 |
-
vaderSentiment
|
7 |
-
Pillow
|
8 |
-
torch
|
|
|
|
1 |
+
streamlit
|
2 |
+
transformers
|
3 |
+
pandas
|
4 |
+
altair
|
5 |
+
textblob
|
6 |
+
vaderSentiment
|
7 |
+
Pillow
|
8 |
+
torch
|
9 |
+
base64
|