Spaces:
Runtime error
Runtime error
Commit ·
5488dc0
1
Parent(s): fc409ef
update slider maximum
Browse files
app.py
CHANGED
|
@@ -144,7 +144,7 @@ if __name__ == "__main__":
|
|
| 144 |
maxScale: scaler
|
| 145 |
}
|
| 146 |
image.change(fn=update_scale, inputs=[width, height, image], outputs=[maxScale])
|
| 147 |
-
|
| 148 |
fit.click(fn=process, inputs=[width, height, scale, image], outputs=[plot_output, total])
|
| 149 |
|
| 150 |
|
|
|
|
| 144 |
maxScale: scaler
|
| 145 |
}
|
| 146 |
image.change(fn=update_scale, inputs=[width, height, image], outputs=[maxScale])
|
| 147 |
+
scale.maximum=5
|
| 148 |
fit.click(fn=process, inputs=[width, height, scale, image], outputs=[plot_output, total])
|
| 149 |
|
| 150 |
|