Skip to content

Commit 59815bc

Browse files
authored
Merge pull request #16 from enrituraj/landing_page
adding google colab model training file to the app
2 parents 25dada6 + 8e462ad commit 59815bc

File tree

8 files changed

+1126
-1
lines changed

8 files changed

+1126
-1
lines changed

api/index.py

+12
Original file line numberDiff line numberDiff line change
@@ -759,5 +759,17 @@ def get_collection_data(collection_name):
759759

760760

761761

762+
763+
@app.route('/admin/analyse')
764+
@onlyAdmin
765+
def analyse():
766+
admin = session.get('admin')
767+
if admin:
768+
return render_template('admin/colab.html',admin=admin)
769+
770+
771+
772+
773+
762774
if __name__ == '__main__':
763775
app.run(debug=True)

api/static/img/colab/01.png

10.6 KB
Loading

api/static/img/colab/02.png

11.5 KB
Loading

api/static/img/colab/03.png

16.9 KB
Loading

api/static/img/colab/04.png

69.2 KB
Loading

api/static/img/colab/05.png

23.9 KB
Loading

api/templates/admin/colab.html

+1,113
Large diffs are not rendered by default.

api/templates/layouts/base_admin.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</a>
104104
</li>
105105
<li>
106-
<a href="" class="sidebar_link">
106+
<a href="{{ url_for('analyse') }}" class="sidebar_link">
107107
<span class="link_icon">
108108
<i class='bx bx-analyse'></i>
109109
</span>

0 commit comments

Comments
 (0)