Spaces:
Running
Running
Update .chainlit/config.toml
Browse files- .chainlit/config.toml +0 -97
.chainlit/config.toml
CHANGED
@@ -17,102 +17,5 @@ allow_origins = ["*"]
|
|
17 |
|
18 |
# Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
|
19 |
# follow_symlink = false
|
20 |
-
|
21 |
-
[features]
|
22 |
-
# Process and display HTML in messages. This can be a security risk (see https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript)
|
23 |
-
unsafe_allow_html = false
|
24 |
-
|
25 |
-
# Process and display mathematical expressions. This can clash with "$" characters in messages.
|
26 |
-
latex = false
|
27 |
-
|
28 |
-
# Automatically tag threads with the current chat profile (if a chat profile is used)
|
29 |
-
auto_tag_thread = true
|
30 |
-
edit_message = true
|
31 |
-
# Authorize users to spontaneously upload files with messages
|
32 |
-
[features.spontaneous_file_upload]
|
33 |
-
enabled = false
|
34 |
-
accept = ["*/*"]
|
35 |
-
max_files = 20
|
36 |
-
max_size_mb = 500
|
37 |
-
|
38 |
-
[features.audio]
|
39 |
-
# Threshold for audio recording
|
40 |
-
min_decibels = -45
|
41 |
-
# Delay for the user to start speaking in MS
|
42 |
-
initial_silence_timeout = 3000
|
43 |
-
# Delay for the user to continue speaking in MS. If the user stops speaking for this duration, the recording will stop.
|
44 |
-
silence_timeout = 1500
|
45 |
-
# Above this duration (MS), the recording will forcefully stop.
|
46 |
-
max_duration = 15000
|
47 |
-
# Duration of the audio chunks in MS
|
48 |
-
chunk_duration = 1000
|
49 |
-
# Sample rate of the audio
|
50 |
-
sample_rate = 44100
|
51 |
-
|
52 |
-
[UI]
|
53 |
-
# Name of the assistant.
|
54 |
-
name = "MISIA"
|
55 |
-
|
56 |
-
# Description of the assistant. This is used for HTML tags.
|
57 |
-
# description = ""
|
58 |
-
|
59 |
-
# Large size content are by default collapsed for a cleaner ui
|
60 |
-
default_collapse_content = true
|
61 |
-
|
62 |
-
# Hide the chain of thought details from the user in the UI.
|
63 |
-
hide_cot = false
|
64 |
-
|
65 |
-
# Link to your github repo. This will add a github button in the UI's header.
|
66 |
-
# github = ""
|
67 |
-
|
68 |
-
# Specify a CSS file that can be used to customize the user interface.
|
69 |
-
# The CSS file can be served from the public directory or via an external link.
|
70 |
-
custom_css = "/public/stylesheet.css"
|
71 |
-
|
72 |
-
# Specify a Javascript file that can be used to customize the user interface.
|
73 |
-
# The Javascript file can be served from the public directory.
|
74 |
-
# custom_js = "/public/test.js"
|
75 |
-
|
76 |
-
# Specify a custom font url.
|
77 |
-
custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
|
78 |
-
|
79 |
-
# Specify a custom meta image url.
|
80 |
-
# custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
|
81 |
-
|
82 |
-
# Specify a custom build directory for the frontend.
|
83 |
-
# This can be used to customize the frontend code.
|
84 |
-
# Be careful: If this is a relative path, it should not start with a slash.
|
85 |
-
# custom_build = "./public/build"
|
86 |
-
|
87 |
-
[UI.theme]
|
88 |
-
default = "dark"
|
89 |
-
layout = "wide"
|
90 |
-
font_family = "Inter, sans-serif"
|
91 |
-
# Override default MUI light theme. (Check theme.ts)
|
92 |
-
[UI.theme.light]
|
93 |
-
#background = "#FAFAFA"
|
94 |
-
#paper = "#FFFFFF"
|
95 |
-
|
96 |
-
[UI.theme.light.primary]
|
97 |
-
#main = "#F80061"
|
98 |
-
#dark = "#980039"
|
99 |
-
#light = "#FFE7EB"
|
100 |
-
[UI.theme.light.text]
|
101 |
-
#primary = "#212121"
|
102 |
-
#secondary = "#616161"
|
103 |
-
|
104 |
-
# Override default MUI dark theme. (Check theme.ts)
|
105 |
-
[UI.theme.dark]
|
106 |
-
#background = "#FAFAFA"
|
107 |
-
#paper = "#FFFFFF"
|
108 |
-
|
109 |
-
[UI.theme.dark.primary]
|
110 |
-
#main = "#F80061"
|
111 |
-
#dark = "#980039"
|
112 |
-
#light = "#FFE7EB"
|
113 |
-
[UI.theme.dark.text]
|
114 |
-
#primary = "#EEEEEE"
|
115 |
-
#secondary = "#BDBDBD"
|
116 |
-
|
117 |
[meta]
|
118 |
generated_by = "1.1.306"
|
|
|
17 |
|
18 |
# Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
|
19 |
# follow_symlink = false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
[meta]
|
21 |
generated_by = "1.1.306"
|