Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def processalltextTotext():
|
|
| 84 |
print('In process')
|
| 85 |
data = request.get_json() # Correct method to get JSON data
|
| 86 |
print(data)
|
| 87 |
-
|
| 88 |
# Ensure 'pdfpath' is included in the request
|
| 89 |
if 'filePath' not in data:
|
| 90 |
return jsonify({"error": "Missing 'pdfpath' in request data"}), 400
|
|
|
|
| 84 |
print('In process')
|
| 85 |
data = request.get_json() # Correct method to get JSON data
|
| 86 |
print(data)
|
| 87 |
+
|
| 88 |
# Ensure 'pdfpath' is included in the request
|
| 89 |
if 'filePath' not in data:
|
| 90 |
return jsonify({"error": "Missing 'pdfpath' in request data"}), 400
|