actually, it is very hard
but if you want to use an alternative option you have to change your code and use a widget feature of data bricks.
May be this is not a right option but you can still explore this doc for testing purpose
https://docs.databricks.com/notebooks/widgets.html
AviralBhardwaj