Spaces:
Runtime error
Runtime error
nehalelkaref
commited on
Commit
β’
4a93af1
1
Parent(s):
771eeb1
first push
Browse files- app.py β main.py +3 -3
app.py β main.py
RENAMED
@@ -2,6 +2,6 @@ from flask import Flask, jsonify, request
|
|
2 |
|
3 |
app = Flask(__name__)
|
4 |
|
5 |
-
@app.route('/')
|
6 |
-
def
|
7 |
-
|
|
|
2 |
|
3 |
app = Flask(__name__)
|
4 |
|
5 |
+
@app.route('/hello', methods=['GET', 'POST'])
|
6 |
+
def welcome():
|
7 |
+
return "Hello World!"
|