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