sukhrobnurali commited on
Commit
92e9b31
·
1 Parent(s): c074dfe

added streamlit configuration

Browse files
Files changed (3) hide show
  1. .gitignore +0 -1
  2. .streamlit/config.toml +8 -0
  3. Dockerfile +1 -0
.gitignore CHANGED
@@ -5,5 +5,4 @@ __pycache__/
5
  .venv
6
  venv/
7
  *.pdf
8
- .streamlit/
9
  uploads/
 
5
  .venv
6
  venv/
7
  *.pdf
 
8
  uploads/
.streamlit/config.toml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ [server]
2
+ headless = true
3
+ enableCORS = false
4
+ enableXsrfProtection = false
5
+ maxUploadSize = 200
6
+
7
+ [browser]
8
+ gatherUsageStats = false
Dockerfile CHANGED
@@ -21,6 +21,7 @@ COPY app.py .
21
  COPY document_processor.py .
22
  COPY criteria.py .
23
  COPY README.md .
 
24
 
25
  # Create directory for temporary file uploads
26
  RUN mkdir -p /app/uploads
 
21
  COPY document_processor.py .
22
  COPY criteria.py .
23
  COPY README.md .
24
+ COPY .streamlit .streamlit
25
 
26
  # Create directory for temporary file uploads
27
  RUN mkdir -p /app/uploads