Spaces:
Runtime error
Runtime error
nehalelkaref
commited on
Commit
•
ad0751b
1
Parent(s):
89fe9f7
first push
Browse files
.~main.py
DELETED
@@ -1,10 +0,0 @@
|
|
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
@@ -6,5 +6,5 @@ app = Flask(__name__)
|
|
6 |
def home():
|
7 |
return "<h1>GFG is great platform to learn</h1>"
|
8 |
|
9 |
-
|
10 |
-
|
|
|
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)
|