peppinob-ol commited on
Commit
a2fd89e
·
1 Parent(s): 873b1c0

Fix: disable XSRF protection for file uploads

Browse files
Files changed (1) hide show
  1. .streamlit/config.toml +2 -1
.streamlit/config.toml CHANGED
@@ -9,7 +9,8 @@ font = "sans serif"
9
  headless = true
10
  port = 7860
11
  enableCORS = false
12
- enableXsrfProtection = true
 
13
 
14
  [browser]
15
  gatherUsageStats = false
 
9
  headless = true
10
  port = 7860
11
  enableCORS = false
12
+ enableXsrfProtection = false
13
+ maxUploadSize = 200
14
 
15
  [browser]
16
  gatherUsageStats = false