Spaces:
Sleeping
Sleeping
| from flask import Flask, render_template, send_from_directory | |
| app = Flask(__name__) | |
| def login(): | |
| return render_template('/apps-hub/login.html') | |
| # @app.route('/') | |
| # def app_selector(): | |
| # return render_template('/apps-hub/app-selector.html') | |
| def profile(): | |
| return render_template('/apps-hub/profile.html') | |
| def research_pro(): | |
| return render_template('/apps-hub/research-pro.html') | |
| def digiyatra(): | |
| return render_template('/apps-hub/digiyatra.html') | |
| def file_convert(): | |
| return render_template('/apps-hub/file-convert.html') | |
| def article_writer(): | |
| return render_template('/apps-hub/article-writer.html') | |
| def followup(): | |
| return render_template('/apps-hub/followup-agent.html') | |
| def landing_page(): | |
| return render_template('/apps-hub/landing-page.html') | |
| def send_js(path): | |
| return send_from_directory('static/js/apps-hub/', path) | |
| def send_css(path): | |
| return send_from_directory('static/css/apps-hub/', path) | |
| def send_svg(path): | |
| return send_from_directory('static/svg/', path) | |
| def send_png(path): | |
| return send_from_directory('static/png/', path) | |
| if __name__ == '__main__': | |
| app.run(debug=True) |