nehalelkaref commited on
Commit
89fe9f7
1 Parent(s): 10d7087

first push

Browse files
Files changed (2) hide show
  1. .~main.py +10 -0
  2. main.py +4 -1
.~main.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from flask import Flask, jsonify, request
2
+
3
+ app = Flask(__name__)
4
+
5
+ @app.route("/")
6
+ def home():
7
+ return "<h1>GFG is great platform to learn</h1>"
8
+
9
+ if __name__ == "__main__":
10
+ app.run(host="0.0.0.0", port=7860)
main.py CHANGED
@@ -4,4 +4,7 @@ app = Flask(__name__)
4
 
5
  @app.route("/")
6
  def home():
7
- return "<h1>GFG is great platform to learn</h1>"
 
 
 
 
4
 
5
  @app.route("/")
6
  def home():
7
+ return "<h1>GFG is great platform to learn</h1>"
8
+
9
+ if __name__ == "__main__":
10
+ app.run(host="0.0.0.0", port=7860)