Spaces:
Runtime error
Runtime error
nehalelkaref
commited on
Commit
•
5fb566e
1
Parent(s):
7a89e67
first push
Browse files
.~main.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 welcome():
|
7 |
return "Hello World!"
|
|
|
2 |
|
3 |
app = Flask(__name__)
|
4 |
|
5 |
+
@app.route('/', methods=['GET'])
|
6 |
def welcome():
|
7 |
return "Hello World!"
|