Merge pull request #197 from AymaneHrouch/update_syspath

Fix module not found: add root directory to sys path
このコミットが含まれているのは:
t.me/xtekky 2023-04-27 13:27:56 +01:00 committed by GitHub
コミット e4aefb08db
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更6行の追加1行の削除

ファイルの表示

@ -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)