Spaces:
Runtime error
Runtime error
nehalelkaref
commited on
Commit
•
10d7087
1
Parent(s):
5fb566e
first push
Browse files
.~main.py
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
from flask import Flask, jsonify, request
|
2 |
-
|
3 |
-
app = Flask(__name__)
|
4 |
-
|
5 |
-
@app.route('/', methods=['GET'])
|
6 |
-
def welcome():
|
7 |
-
return "Hello World!"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main.py
CHANGED
@@ -2,6 +2,6 @@ from flask import Flask, jsonify, request
|
|
2 |
|
3 |
app = Flask(__name__)
|
4 |
|
5 |
-
@app.route(
|
6 |
-
def
|
7 |
-
return "
|
|
|
2 |
|
3 |
app = Flask(__name__)
|
4 |
|
5 |
+
@app.route("/")
|
6 |
+
def home():
|
7 |
+
return "<h1>GFG is great platform to learn</h1>"
|