Thanks for the helpful tips!  That’s what I was trying to find.
By the way, when I ran your code, I saw the following error.
TypeError: run() missing 1 required positional argument: 'flag_options'
Instead, I had to write as following.  This may be due to a different version of Streamlit.  (I’m using Streamlit version 0.86.0.)
streamlit.bootstrap.run(filename, '', args, flag_options={})

In anyway, thanks again for the tips!
Regards,
Atsushi