Spaces:
Build error
Build error
File size: 358 Bytes
cf52715 76c0b7a 53da938 76c0b7a cf52715 76c0b7a 53da938 cf52715 53da938 cf52715 76c0b7a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
#!/usr/bin/env python
# coding: utf-8
# In[1]:
from flask import Flask, send_from_directory
app = Flask(__name__)
@app.route('/')
def index():
return send_from_directory('.', 'index.html')
@app.route('/<path:path>')
def static_files(path):
return send_from_directory('.', path)
if __name__ == '__main__':
app.run(debug=True)
# In[ ]:
|