serJD commited on
Commit
8451ac2
1 Parent(s): 91689b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def app_function(input_json):
79
  "adjustment_factors": adjustment_factors.to_json(orient='split')
80
  }
81
 
82
- return output.to_json(orient='split')
83
 
84
  # Define the Gradio interface with a single JSON input
85
  iface = gr.Interface(
 
79
  "adjustment_factors": adjustment_factors.to_json(orient='split')
80
  }
81
 
82
+ return json.dumps(output)
83
 
84
  # Define the Gradio interface with a single JSON input
85
  iface = gr.Interface(