vansin commited on
Commit
5c4d90e
1 Parent(s): c475e4e

Add application file

Browse files
Files changed (3) hide show
  1. app.py +12 -0
  2. requirements.txt +1 -0
  3. templates/index.html +13 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from flask import Flask, render_template
2
+
3
+ app = Flask(__name__)
4
+
5
+
6
+ @app.route("/")
7
+ def index():
8
+ return render_template("index.html")
9
+
10
+
11
+ if __name__ == "__main__":
12
+ app.run(debug=True, port=7860, host="0.0.0.0")
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ flask
templates/index.html ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ <title>leaderboard-llm</title>
6
+ </head>
7
+
8
+ <body>
9
+ <iframe src="https://opencompass.org.cn/leaderboard-llm"
10
+ style="border: none; width: 100%; height: 100vh;"></iframe>
11
+ </body>
12
+
13
+ </html>