Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .chainlit/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ edit_message = true
# Authorize users to spontaneously upload files with messages
[features.spontaneous_file_upload]
enabled = false
# Define accepted file types using MIME types
# Examples:
# 1. For specific file types:
# accept = ["image/jpeg", "image/png", "application/pdf"]
# 2. For all files of certain type:
# accept = ["image/*", "audio/*", "video/*"]
# 3. For specific file extensions:
# accept = { "application/octet-stream" = [".xyz", ".pdb"] }
# Note: Using "*/*" is not recommended as it may cause browser warnings
accept = ["*/*"]
max_files = 20
max_size_mb = 500
Expand Down Expand Up @@ -76,4 +85,4 @@ github = "https://github.com/reactome/reactome_chatbot/issues"
# custom_build = "./public/build"

[meta]
generated_by = "2.0.3"
generated_by = "2.0.602"
Loading