dhaliwalkaranvir commited on
Commit
f72e3f3
·
verified ·
1 Parent(s): c3991e3

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from flask import Flask, render_template, request, url_for
2
+ app = Flask(__name__)
3
+
4
+ @app.route('/')
5
+ def home():
6
+ return "hello from flask on hugging face"
7
+ if __name__ == '__main__':
8
+ app.run(debug=True, host="0.0.0.0", port=7860)
9
+