Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
CatPtain
/
dify
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
e94c687
dify
/
api
/
controllers
/
files
/
error.py
CatPtain
Upload 181 files
f71c799
verified
2 months ago
raw
Copy download link
history
blame
197 Bytes
from
libs.exception
import
BaseHTTPException
class
UnsupportedFileTypeError
(
BaseHTTPException
):
error_code =
"unsupported_file_type"
description =
"File type not allowed."
code =
415