Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,9 @@ app = Flask(__name__)
|
|
| 6 |
def login():
|
| 7 |
return render_template('/apps-hub/login.html')
|
| 8 |
|
| 9 |
-
@app.route('/')
|
| 10 |
-
def app_selector():
|
| 11 |
-
|
| 12 |
|
| 13 |
@app.route('/profile')
|
| 14 |
def profile():
|
|
@@ -18,6 +18,14 @@ def profile():
|
|
| 18 |
def research_pro():
|
| 19 |
return render_template('/apps-hub/research-pro.html')
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
@app.route('/article-writer')
|
| 22 |
def article_writer():
|
| 23 |
return render_template('/apps-hub/article-writer.html')
|
|
@@ -26,13 +34,9 @@ def article_writer():
|
|
| 26 |
def followup():
|
| 27 |
return render_template('/apps-hub/followup-agent.html')
|
| 28 |
|
| 29 |
-
@app.route('/
|
| 30 |
-
def
|
| 31 |
-
return render_template('/apps-hub/
|
| 32 |
-
|
| 33 |
-
@app.route('/file-convert')
|
| 34 |
-
def file_convert():
|
| 35 |
-
return render_template('/apps-hub/file-convert.html')
|
| 36 |
|
| 37 |
@app.route('/js/<path:path>')
|
| 38 |
def send_js(path):
|
|
@@ -42,6 +46,13 @@ def send_js(path):
|
|
| 42 |
def send_css(path):
|
| 43 |
return send_from_directory('static/css/apps-hub/', path)
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
if __name__ == '__main__':
|
| 47 |
app.run(debug=True)
|
|
|
|
| 6 |
def login():
|
| 7 |
return render_template('/apps-hub/login.html')
|
| 8 |
|
| 9 |
+
# @app.route('/')
|
| 10 |
+
# def app_selector():
|
| 11 |
+
# return render_template('/apps-hub/app-selector.html')
|
| 12 |
|
| 13 |
@app.route('/profile')
|
| 14 |
def profile():
|
|
|
|
| 18 |
def research_pro():
|
| 19 |
return render_template('/apps-hub/research-pro.html')
|
| 20 |
|
| 21 |
+
@app.route('/digiyatra-assistant')
|
| 22 |
+
def digiyatra():
|
| 23 |
+
return render_template('/apps-hub/digiyatra.html')
|
| 24 |
+
|
| 25 |
+
@app.route('/file-convert')
|
| 26 |
+
def file_convert():
|
| 27 |
+
return render_template('/apps-hub/file-convert.html')
|
| 28 |
+
|
| 29 |
@app.route('/article-writer')
|
| 30 |
def article_writer():
|
| 31 |
return render_template('/apps-hub/article-writer.html')
|
|
|
|
| 34 |
def followup():
|
| 35 |
return render_template('/apps-hub/followup-agent.html')
|
| 36 |
|
| 37 |
+
@app.route('/')
|
| 38 |
+
def landing_page():
|
| 39 |
+
return render_template('/apps-hub/landing-page.html')
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
@app.route('/js/<path:path>')
|
| 42 |
def send_js(path):
|
|
|
|
| 46 |
def send_css(path):
|
| 47 |
return send_from_directory('static/css/apps-hub/', path)
|
| 48 |
|
| 49 |
+
@app.route('/svg/<path:path>')
|
| 50 |
+
def send_svg(path):
|
| 51 |
+
return send_from_directory('static/svg/', path)
|
| 52 |
+
|
| 53 |
+
@app.route('/png/<path:path>')
|
| 54 |
+
def send_png(path):
|
| 55 |
+
return send_from_directory('static/png/', path)
|
| 56 |
|
| 57 |
if __name__ == '__main__':
|
| 58 |
app.run(debug=True)
|