Spaces:
Runtime error
Runtime error
Add cross origin
Browse files
app.py
CHANGED
|
@@ -18,6 +18,7 @@ def home():
|
|
| 18 |
|
| 19 |
|
| 20 |
@app.route('/summarize', methods=['POST'])
|
|
|
|
| 21 |
def recommend():
|
| 22 |
if request.method == "POST":
|
| 23 |
# Get form data
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
@app.route('/summarize', methods=['POST'])
|
| 21 |
+
@cross_origin()
|
| 22 |
def recommend():
|
| 23 |
if request.method == "POST":
|
| 24 |
# Get form data
|