Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,9 +38,9 @@ def apifunction():
|
|
| 38 |
# Extracting values
|
| 39 |
if data:
|
| 40 |
allapi = data.get('allapi')
|
| 41 |
-
pdftotext.apiFiltering(allapi)
|
| 42 |
|
| 43 |
-
return jsonify(
|
| 44 |
|
| 45 |
except error:
|
| 46 |
print(f"Error: {e}")
|
|
|
|
| 38 |
# Extracting values
|
| 39 |
if data:
|
| 40 |
allapi = data.get('allapi')
|
| 41 |
+
jsonOutput=pdftotext.apiFiltering(allapi)
|
| 42 |
|
| 43 |
+
return jsonify(jsonOutput)
|
| 44 |
|
| 45 |
except error:
|
| 46 |
print(f"Error: {e}")
|