t.me/xtekky commited on
Commit
e4aefb0
2 Parent(s): 4260c23 28a820a

Merge pull request #197 from AymaneHrouch/update_syspath

Browse files
Files changed (1) hide show
  1. gui/streamlit_app.py +6 -1
gui/streamlit_app.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  import streamlit as st
2
  import phind
3
 
@@ -45,4 +50,4 @@ hide_streamlit_style = """
45
  footer {visibility: hidden;}
46
  </style>
47
  """
48
- st.markdown(hide_streamlit_style, unsafe_allow_html=True)
 
1
+ import os
2
+ import sys
3
+
4
+ sys.path.append(os.path.join(os.path.dirname(__file__), os.path.pardir))
5
+
6
  import streamlit as st
7
  import phind
8
 
 
50
  footer {visibility: hidden;}
51
  </style>
52
  """
53
+ st.markdown(hide_streamlit_style, unsafe_allow_html=True)