Spaces:
Runtime error
Runtime error
Update .chainlit/config.toml
Browse files- .chainlit/config.toml +74 -120
.chainlit/config.toml
CHANGED
@@ -1,120 +1,74 @@
|
|
1 |
-
[project]
|
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 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
[UI]
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
# custom_js = "/public/test.js"
|
76 |
-
|
77 |
-
# Specify a custom font url.
|
78 |
-
# custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
|
79 |
-
|
80 |
-
# Specify a custom meta image url.
|
81 |
-
# custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
|
82 |
-
|
83 |
-
# Specify a custom build directory for the frontend.
|
84 |
-
# This can be used to customize the frontend code.
|
85 |
-
# Be careful: If this is a relative path, it should not start with a slash.
|
86 |
-
# custom_build = "./public/build"
|
87 |
-
|
88 |
-
[UI.theme]
|
89 |
-
default = "dark"
|
90 |
-
#layout = "wide"
|
91 |
-
#font_family = "Inter, sans-serif"
|
92 |
-
# Override default MUI light theme. (Check theme.ts)
|
93 |
-
[UI.theme.light]
|
94 |
-
#background = "#FAFAFA"
|
95 |
-
#paper = "#FFFFFF"
|
96 |
-
|
97 |
-
[UI.theme.light.primary]
|
98 |
-
main = "#F80061"
|
99 |
-
dark = "#980039"
|
100 |
-
light = "#FFE7EB"
|
101 |
-
[UI.theme.light.text]
|
102 |
-
primary = "#212121"
|
103 |
-
secondary = "#616161"
|
104 |
-
|
105 |
-
# Override default MUI dark theme. (Check theme.ts)
|
106 |
-
[UI.theme.dark]
|
107 |
-
#background = "#FAFAFA"
|
108 |
-
#paper = "#FFFFFF"
|
109 |
-
|
110 |
-
[UI.theme.dark.primary]
|
111 |
-
main = "#F80061"
|
112 |
-
dark = "#980039"
|
113 |
-
light = "#FFE7EB"
|
114 |
-
[UI.theme.dark.text]
|
115 |
-
primary = "#EEEEEE"
|
116 |
-
secondary = "#BDBDBD"
|
117 |
-
|
118 |
-
|
119 |
-
[meta]
|
120 |
-
generated_by = "1.1.304"
|
|
|
1 |
+
[project]
|
2 |
+
enable_telemetry = true
|
3 |
+
|
4 |
+
user_env = []
|
5 |
+
|
6 |
+
session_timeout = 3600
|
7 |
+
|
8 |
+
cache = false
|
9 |
+
|
10 |
+
allow_origins = ["*"]
|
11 |
+
|
12 |
+
[features]
|
13 |
+
unsafe_allow_html = false
|
14 |
+
|
15 |
+
latex = false
|
16 |
+
|
17 |
+
auto_tag_thread = true
|
18 |
+
|
19 |
+
[features.spontaneous_file_upload]
|
20 |
+
enabled = true
|
21 |
+
accept = ["*/*"]
|
22 |
+
max_files = 20
|
23 |
+
max_size_mb = 500
|
24 |
+
|
25 |
+
[features.audio]
|
26 |
+
min_decibels = -45
|
27 |
+
initial_silence_timeout = 3000
|
28 |
+
silence_timeout = 1500
|
29 |
+
max_duration = 15000
|
30 |
+
chunk_duration = 1000
|
31 |
+
sample_rate = 44100
|
32 |
+
|
33 |
+
[UI]
|
34 |
+
name = "Shield Chat"
|
35 |
+
custom_css = "/public/test.css"
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
default_collapse_content = true
|
40 |
+
|
41 |
+
hide_cot = false
|
42 |
+
|
43 |
+
[UI.theme]
|
44 |
+
default = "dark"
|
45 |
+
layout = "wide"
|
46 |
+
font_family = "Inter, sans-serif"
|
47 |
+
|
48 |
+
[UI.theme.light]
|
49 |
+
background = "#FAFAFA"
|
50 |
+
paper = "#FFFFFF"
|
51 |
+
|
52 |
+
[UI.theme.light.primary]
|
53 |
+
main = "#F80061"
|
54 |
+
dark = "#980039"
|
55 |
+
light = "#FFE7EB"
|
56 |
+
[UI.theme.light.text]
|
57 |
+
primary = "#212121"
|
58 |
+
secondary = "#616161"
|
59 |
+
|
60 |
+
[UI.theme.dark]
|
61 |
+
background = "#FAFAFA"
|
62 |
+
paper = "#FFFFFF"
|
63 |
+
|
64 |
+
[UI.theme.dark.primary]
|
65 |
+
main = "#F80061"
|
66 |
+
dark = "#980039"
|
67 |
+
light = "#FFE7EB"
|
68 |
+
[UI.theme.dark.text]
|
69 |
+
primary = "#EEEEEE"
|
70 |
+
secondary = "#BDBDBD"
|
71 |
+
|
72 |
+
|
73 |
+
[meta]
|
74 |
+
generated_by = "1.1.304"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|