Spaces:
Runtime error
Runtime error
Update server.py
Browse files
server.py
CHANGED
@@ -9,6 +9,8 @@ from teacherdashboard import get_feedback_counts
|
|
9 |
|
10 |
app = Flask(__name__)
|
11 |
|
|
|
|
|
12 |
|
13 |
@app.route('/')
|
14 |
def index():
|
@@ -180,6 +182,5 @@ def display():
|
|
180 |
return render_template('feedbacks.html', tables=[df.to_html(classes='data', header="true")])
|
181 |
|
182 |
|
183 |
-
|
184 |
-
app.run(
|
185 |
-
|
|
|
9 |
|
10 |
app = Flask(__name__)
|
11 |
|
12 |
+
app.secret_key = 'hello-world-flask'
|
13 |
+
|
14 |
|
15 |
@app.route('/')
|
16 |
def index():
|
|
|
182 |
return render_template('feedbacks.html', tables=[df.to_html(classes='data', header="true")])
|
183 |
|
184 |
|
185 |
+
if __name__ == '__main__':
|
186 |
+
app.run()
|
|