lora_tools / pycharm_runner.py
kjerk
Add initial tools, layout, and config.
aa5d6d0
raw
history blame contribute delete
284 Bytes
# https://discuss.streamlit.io/t/cannot-debug-streamlit-in-pycharm-2023-3-3/61581/2
try:
from streamlit.web import bootstrap
except ImportError:
from streamlit import bootstrap
real_script = 'app.py'
bootstrap.run(real_script, f'pycharm_runner.py {real_script}', [], {})