Ahmed235 commited on
Commit
fc6af31
·
verified ·
1 Parent(s): 1b6c7fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def predict_pptx_content(file_path):
44
 
45
  output_dict = json.dumps(output, indent = 3)
46
 
47
- return output_dict
48
 
49
  except Exception as e:
50
  # Log the error details
 
44
 
45
  output_dict = json.dumps(output, indent = 3)
46
 
47
+ return {"output": output_dict} # Return the JSON string within a dictionary
48
 
49
  except Exception as e:
50
  # Log the error details