Subbu1304 commited on
Commit
b64e3ac
·
verified ·
1 Parent(s): 73266b2

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from flask import Flask, render_template
2
+
3
+ app = Flask(__name__)
4
+
5
+ # Route for the homepage with speech detection
6
+ @app.route('/')
7
+ def index():
8
+ return render_template('index.html')
9
+
10
+ # Route for the landing page
11
+ @app.route('/landing')
12
+ def landing():
13
+ return "<h1>Welcome to Biriyani Hub</h1>"
14
+
15
+ if __name__ == '__main__':
16
+ app.run(debug=True)