I am running my app locally: streamlit = “1.34.0”
Trying to use debugger to run my streamlit app so I can debug in my ide (as per these two forum posts)
from streamlit.web import bootstrap
def main():
real_script = 'saturn.py'
bootstrap.run(real_script, f'run.py {real_script}', [], {})
if __name__ == "__main__":
main()
saturn.py
import streamlit as st
st.markdown('hello world')
However I am getting the following error: TypeError: 'str' object cannot be interpreted as an integer
traced to:
app_session.py
line 705
imsg.is_hello = self._script_data.is_hello
I found another forum post which solved my issue:
1 Like
system
Closed
3
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.