1
0
Fork 0

Fix module not found: add root directory to sys path

This commit is contained in:
Aymane Hrouch 2023-04-27 13:12:04 +01:00
parent 4260c23a23
commit 28a820a8bc

View file

@ -1,3 +1,8 @@
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), os.path.pardir))
import streamlit as st
import phind
@ -45,4 +50,4 @@ hide_streamlit_style = """
footer {visibility: hidden;}
</style>
"""
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
st.markdown(hide_streamlit_style, unsafe_allow_html=True)