Spaces:
Sleeping
Sleeping
Create .chainlit/config.toml
Browse files- .chainlit/config.toml +89 -0
.chainlit/config.toml
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
# Whether to enable telemetry (default: true). No personal data is collected.
|
| 3 |
+
enable_telemetry = true
|
| 4 |
+
|
| 5 |
+
# List of environment variables to be provided by each user to use the app.
|
| 6 |
+
user_env = []
|
| 7 |
+
|
| 8 |
+
# Duration (in seconds) during which the session is saved when the connection is lost
|
| 9 |
+
session_timeout = 3600
|
| 10 |
+
|
| 11 |
+
# Enable third parties caching (e.g LangChain cache)
|
| 12 |
+
cache = false
|
| 13 |
+
|
| 14 |
+
# Authorized origins
|
| 15 |
+
allow_origins = ["*"]
|
| 16 |
+
|
| 17 |
+
# Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
|
| 18 |
+
# follow_symlink = false
|
| 19 |
+
|
| 20 |
+
[features]
|
| 21 |
+
unsafe_allow_html = false
|
| 22 |
+
latex = false
|
| 23 |
+
auto_tag_thread = true
|
| 24 |
+
|
| 25 |
+
[features.spontaneous_file_upload]
|
| 26 |
+
enabled = true
|
| 27 |
+
accept = ["*/*"]
|
| 28 |
+
max_files = 20
|
| 29 |
+
max_size_mb = 500
|
| 30 |
+
|
| 31 |
+
[features.audio]
|
| 32 |
+
min_decibels = -45
|
| 33 |
+
initial_silence_timeout = 3000
|
| 34 |
+
silence_timeout = 1500
|
| 35 |
+
max_duration = 15000
|
| 36 |
+
chunk_duration = 1000
|
| 37 |
+
sample_rate = 44100
|
| 38 |
+
|
| 39 |
+
edit_message = true
|
| 40 |
+
|
| 41 |
+
[UI]
|
| 42 |
+
name = "Assistant"
|
| 43 |
+
default_collapse_content = true
|
| 44 |
+
cot = "full"
|
| 45 |
+
# Link to your github repo. This will add a github button in the UI's header.
|
| 46 |
+
# github = ""
|
| 47 |
+
# Specify a CSS file that can be used to customize the user interface.
|
| 48 |
+
# The CSS file can be served from the public directory or via an external link.
|
| 49 |
+
custom_css = "/public/custom_style.css"
|
| 50 |
+
# Specify a Javascript file that can be used to customize the user interface.
|
| 51 |
+
# The Javascript file can be served from the public directory.
|
| 52 |
+
custom_js = "/public/test.js"
|
| 53 |
+
# Specify a custom font url.
|
| 54 |
+
custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
|
| 55 |
+
# Specify custom meta image urls for dark and light themes.
|
| 56 |
+
custom_meta_image_url_dark = "/public/logo_dark.png"
|
| 57 |
+
custom_meta_image_url_light = "/public/logo_light.png"
|
| 58 |
+
# Specify a custom build directory for the frontend.
|
| 59 |
+
# This can be used to customize the frontend code.
|
| 60 |
+
# Be careful: If this is a relative path, it should not start with a slash.
|
| 61 |
+
custom_build = "./public/build"
|
| 62 |
+
|
| 63 |
+
[UI.theme]
|
| 64 |
+
default = "dark"
|
| 65 |
+
# Override default MUI light theme. (Check theme.ts)
|
| 66 |
+
[UI.theme.light]
|
| 67 |
+
#background = "#FAFAFA"
|
| 68 |
+
#paper = "#FFFFFF"
|
| 69 |
+
[UI.theme.light.primary]
|
| 70 |
+
main = "#00C853" # Green
|
| 71 |
+
dark = "#009624" # Darker green
|
| 72 |
+
light = "#B9F6CA" # Lighter green
|
| 73 |
+
[UI.theme.light.text]
|
| 74 |
+
primary = "#212121"
|
| 75 |
+
secondary = "#616161"
|
| 76 |
+
# Override default MUI dark theme. (Check theme.ts)
|
| 77 |
+
[UI.theme.dark]
|
| 78 |
+
#background = "#303030"
|
| 79 |
+
#paper = "#424242"
|
| 80 |
+
[UI.theme.dark.primary]
|
| 81 |
+
main = "#00C853" # Green
|
| 82 |
+
dark = "#009624" # Darker green
|
| 83 |
+
light = "#B9F6CA" # Lighter green
|
| 84 |
+
[UI.theme.dark.text]
|
| 85 |
+
primary = "#EEEEEE"
|
| 86 |
+
secondary = "#BDBDBD"
|
| 87 |
+
|
| 88 |
+
[meta]
|
| 89 |
+
generated_by = "1.1.400"
|