summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorAymane Hrouch <jo.aymane@gmail.com>2023-04-27 14:12:04 +0200
committerAymane Hrouch <jo.aymane@gmail.com>2023-04-27 14:12:04 +0200
commit28a820a8bc00c34e14cae2941250ce5ac150c987 (patch)
tree8bc5ed64061179a7222f01466d34e1415bdd6e47 /gui
parentMerge pull request #192 from AymaneHrouch/update_req (diff)
downloadgpt4free-28a820a8bc00c34e14cae2941250ce5ac150c987.tar
gpt4free-28a820a8bc00c34e14cae2941250ce5ac150c987.tar.gz
gpt4free-28a820a8bc00c34e14cae2941250ce5ac150c987.tar.bz2
gpt4free-28a820a8bc00c34e14cae2941250ce5ac150c987.tar.lz
gpt4free-28a820a8bc00c34e14cae2941250ce5ac150c987.tar.xz
gpt4free-28a820a8bc00c34e14cae2941250ce5ac150c987.tar.zst
gpt4free-28a820a8bc00c34e14cae2941250ce5ac150c987.zip
Diffstat (limited to 'gui')
-rw-r--r--gui/streamlit_app.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/streamlit_app.py b/gui/streamlit_app.py
index ff1cb6d4..44507e18 100644
--- a/gui/streamlit_app.py
+++ b/gui/streamlit_app.py
@@ -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) \ No newline at end of file
+st.markdown(hide_streamlit_style, unsafe_allow_html=True)