diff --git a/app.py b/app.py index d4852ee..3dc9ae4 100644 --- a/app.py +++ b/app.py @@ -25,7 +25,7 @@ data_dict = dict() def hello(): return 'hi. —— CheckGPUsWeb' -@app.route('/data', methods=['GET']) +@app.route('/all_data', methods=['GET']) def get_data(): return jsonify(get_all_data()) diff --git a/index.html b/index.html index 7e20b05..e63498d 100644 --- a/index.html +++ b/index.html @@ -3,26 +3,86 @@ - Fetch JSON from Flask + Server and GPU Information + -

Fetch JSON from Flask Example

- -
+

Server and GPU Information

+