We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a83c01a commit f5612feCopy full SHA for f5612fe
main.py
@@ -0,0 +1,13 @@
1
+from flask import Flask
2
+from flask import render_template
3
+from flaskwebgui import FlaskUI
4
+
5
+app = Flask(__name__)
6
+ui = FlaskUI(app, width=800, height=600)
7
8
+@app.route("/")
9
+def index():
10
+ return render_template('index.html')
11
12
+if __name__ == "__main__":
13
+ ui.run()
start.sh
@@ -0,0 +1 @@
+pyenv exec python3 main.py
templates/index.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <h1>hello world</h1>
+ </body>
+</html>
0 commit comments