Spaces:
Running
Running
| from flask import Flask, render_template | |
| from flask import send_file | |
| app = Flask(__name__) | |
| def index(): | |
| return render_template("index.html") | |
| def loadFile(): | |
| path = "taxonomy.json" | |
| return send_file(path, as_attachment=True) | |
| if __name__ == "__main__": | |
| app.run() |