Spaces:
Sleeping
Sleeping
from flask import Flask, send_from_directory | |
app = Flask(__name__, static_folder='build', static_url_path='') | |
def serve(): | |
return send_from_directory(app.static_folder, 'index.html') | |
def static_proxy(path): | |
return send_from_directory(app.static_folder, path) | |
if __name__ == '__main__': | |
app.run(host="0.0.0.0", port=7860) | |