Spaces:
Sleeping
Sleeping
Commit
·
c6bb2d8
1
Parent(s):
25273f7
Live update enabled for range sliders
Browse files
app.py
CHANGED
|
@@ -194,6 +194,12 @@ with gd.Blocks() as demo:
|
|
| 194 |
trn_ratio.change(optimize, inputs=[N,n,m,func_code,trn_ratio,range_min, range_max],
|
| 195 |
outputs=[out, pdp_x, pdp_trn, feom_trn,corr_trn,r2_out_trn,
|
| 196 |
pdp_tst, feom_tst,corr_tst,r2_out_tst])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 197 |
pdp_x.change(change_pdp, inputs=pdp_x, outputs=[pdp_trn, feom_trn, pdp_tst, feom_tst])
|
| 198 |
|
| 199 |
|
|
|
|
| 194 |
trn_ratio.change(optimize, inputs=[N,n,m,func_code,trn_ratio,range_min, range_max],
|
| 195 |
outputs=[out, pdp_x, pdp_trn, feom_trn,corr_trn,r2_out_trn,
|
| 196 |
pdp_tst, feom_tst,corr_tst,r2_out_tst])
|
| 197 |
+
range_min.change(optimize, inputs=[N,n,m,func_code,trn_ratio,range_min, range_max],
|
| 198 |
+
outputs=[out, pdp_x, pdp_trn, feom_trn,corr_trn,r2_out_trn,
|
| 199 |
+
pdp_tst, feom_tst,corr_tst,r2_out_tst])
|
| 200 |
+
range_max.change(optimize, inputs=[N,n,m,func_code,trn_ratio,range_min, range_max],
|
| 201 |
+
outputs=[out, pdp_x, pdp_trn, feom_trn,corr_trn,r2_out_trn,
|
| 202 |
+
pdp_tst, feom_tst,corr_tst,r2_out_tst])
|
| 203 |
pdp_x.change(change_pdp, inputs=pdp_x, outputs=[pdp_trn, feom_trn, pdp_tst, feom_tst])
|
| 204 |
|
| 205 |
|