Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Severian/dify
ZHZ1024
/
dify
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
496ca32
dify
/
api
/
controllers
/
files
/
error.py
Severian
initial commit
a8b3f00
5 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