Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Sergidev
/
Grimvault
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Grimvault
/
run.py
Sergidev
v1
a6db6a6
verified
10 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
242 Bytes
from
app
import
create_app, db
from
app.models
import
User, File
app = create_app()
@app.shell_context_processor
def
make_shell_context
():
return
{
'db'
: db,
'User'
: User,
'File'
: File}
if
__name__ ==
'__main__'
:
app.run(debug=
True
)