Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,10 @@ import os
|
|
4 |
|
5 |
app = Flask(__name__)
|
6 |
|
7 |
-
|
|
|
|
|
|
|
8 |
@app.route('/formats', methods=['POST'])
|
9 |
def get_formats():
|
10 |
data = request.json
|
|
|
4 |
|
5 |
app = Flask(__name__)
|
6 |
|
7 |
+
@app.route('/', methods=['GET'])
|
8 |
+
def home():
|
9 |
+
return jsonify({ 'message': 'Hallo, Welcome' })
|
10 |
+
|
11 |
@app.route('/formats', methods=['POST'])
|
12 |
def get_formats():
|
13 |
data = request.json
|