Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def test_connect():
|
|
128 |
# # Render the table.html template and pass the attendance data
|
129 |
# return render_template('attendance.html', attendance=attendance)
|
130 |
|
131 |
-
@app.route(
|
132 |
def index():
|
133 |
return 'hello'
|
134 |
# return render_template('index.html')
|
@@ -136,6 +136,6 @@ def index():
|
|
136 |
|
137 |
if __name__ == '__main__':
|
138 |
# Start Flask application
|
139 |
-
socket.run(app,host=
|
140 |
|
141 |
|
|
|
128 |
# # Render the table.html template and pass the attendance data
|
129 |
# return render_template('attendance.html', attendance=attendance)
|
130 |
|
131 |
+
@app.route("/")
|
132 |
def index():
|
133 |
return 'hello'
|
134 |
# return render_template('index.html')
|
|
|
136 |
|
137 |
if __name__ == '__main__':
|
138 |
# Start Flask application
|
139 |
+
socket.run(app,host="0.0.0.0", port=5000)
|
140 |
|
141 |
|