Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ZienabM
/
ocrfood
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
ocrfood
/
app
/
config.py
ZienabM
Upload 10 files
c30f358
verified
about 2 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
194 Bytes
import
os
class
Config
:
SECRET_KEY = os.environ.get(
'SECRET_KEY'
)
or
'your-secret-key'
UPLOAD_FOLDER =
'instance/uploads'
MAX_CONTENT_LENGTH =
16
*
1024
*
1024
# 16MB max file size