Deepak Yadav commited on
Commit
16e7ede
·
1 Parent(s): 1866d71

updated new version deepseek-r1

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -1
  2. app.py +3 -3
Dockerfile CHANGED
@@ -20,4 +20,6 @@ EXPOSE 11434
20
  # Start Ollama in the background
21
  RUN ollama pull deepseek-r1:1.5b
22
 
23
- CMD ollama serve & streamlit run app.py --server.port 7860 --server.enableCORS false --server.enableXsrfProtection false
 
 
 
20
  # Start Ollama in the background
21
  RUN ollama pull deepseek-r1:1.5b
22
 
23
+ # CMD ollama serve & streamlit run app.py --server.port 7860 --server.enableCORS false --server.enableXsrfProtection false
24
+
25
+ CMD ["ollama", "serve"]
app.py CHANGED
@@ -5,9 +5,9 @@ from components.chat_ui import display_chat
5
  from services.llm import initialize_qa_chain, initialize_chain
6
  from utils.helpers import get_file_size
7
 
8
- import subprocess
9
- process = subprocess.Popen("ollama serve", shell=True)
10
- print(process)
11
 
12
  # App Title
13
  st.title("DocChatAI | Chat Using Documents")
 
5
  from services.llm import initialize_qa_chain, initialize_chain
6
  from utils.helpers import get_file_size
7
 
8
+ # import subprocess
9
+ # process = subprocess.Popen("ollama serve", shell=True)
10
+ # print(process)
11
 
12
  # App Title
13
  st.title("DocChatAI | Chat Using Documents")