Marthee commited on
Commit
6d78f19
·
verified ·
1 Parent(s): 0de9f49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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('received')
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}")