Mimi commited on
Commit
89d4f0b
·
1 Parent(s): 6e46582

Empty commit for pushing changes to frontend

Browse files
Files changed (2) hide show
  1. .streamlit/config.toml +34 -1
  2. Dockerfile +3 -2
.streamlit/config.toml CHANGED
@@ -7,4 +7,37 @@ textColor="#fee5d7"
7
  font="monospace"
8
 
9
  [server]
10
- enableStaticServing = true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  font="monospace"
8
 
9
  [server]
10
+ # List of folders that should not be watched for changes.
11
+ # Relative paths will be taken as relative to the current working directory.
12
+ # Example: ['/home/user1/env', 'relative/path/to/folder']
13
+ # Default: []
14
+ folderWatchBlacklist = ['/home/user/app']
15
+ fileWatcherType = "auto"
16
+ headless = false
17
+ runOnSave = false
18
+
19
+ # The address where the server will listen for client and browser
20
+ # connections. Use this if you want to bind the server to a specific address.
21
+ # If set, the server will only be accessible from this address, and not from
22
+ # any aliases (like localhost).
23
+ # Default: (unset)
24
+ address =
25
+ port = 7860
26
+ # connection.
27
+ # Default: 200
28
+ maxMessageSize = 200
29
+
30
+ # Enables support for websocket compression.
31
+ # Default: false
32
+ enableWebsocketCompression = false
33
+
34
+ # Enable serving files from a `static` directory in the running app's
35
+ # directory.
36
+ # Default: false
37
+ enableStaticServing = false
38
+
39
+ # TTL in seconds for sessions whose websockets have been disconnected. The server
40
+ # may choose to clean up session state, uploaded files, etc for a given session
41
+ # with no active websocket connection at any point after this time has passed.
42
+ # Default: 120
43
+ disconnectedSessionTTL = 120
Dockerfile CHANGED
@@ -19,9 +19,10 @@ RUN mkdir app
19
  WORKDIR $HOME/app
20
  COPY . $HOME/app
21
 
22
- EXPOSE 8501
23
  CMD streamlit run app.py \
24
  --server.headless true \
25
  --server.enableCORS false \
26
  --server.enableXsrfProtection false \
27
- --server.fileWatcherType none
 
 
19
  WORKDIR $HOME/app
20
  COPY . $HOME/app
21
 
22
+ EXPOSE 7860
23
  CMD streamlit run app.py \
24
  --server.headless true \
25
  --server.enableCORS false \
26
  --server.enableXsrfProtection false \
27
+ --server.fileWatcherType none \
28
+ --server.port 7860