File size: 675 Bytes
a7f9e16
 
 
 
 
 
 
 
 
 
 
 
cdf538a
 
 
 
a7f9e16
 
772b16f
 
cb06f72
772b16f
a7f9e16
 
772b16f
a7f9e16
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM python:3.9

WORKDIR /app

# Create a writable directory for the cache
RUN mkdir -p /.cache/huggingface/hub && chmod -R 777 /.cache

# Set the TRANSFORMERS_CACHE environment variable
ENV TRANSFORMERS_CACHE /.cache/huggingface/hub

COPY requirements.txt .

COPY model.pkl .

COPY encoder.pkl .

COPY seer.py .

COPY seer.png .

COPY salesgif.gif .

COPY img1.png .

COPY img2.jpg .

COPY date_features.py .

RUN pip3 install --upgrade pip

RUN pip3 install -r requirements.txt

CMD ["streamlit","run","seer.py", "--server.address", "0.0.0.0", "--server.port", "7860", "--browser.serverAddress", "ghylb-Sales_Prediction.hf.space", "--browser.serverAddress","0.0.0.0:7860"]