diff options
author | Aymane Hrouch <jo.aymane@gmail.com> | 2023-04-27 14:12:04 +0200 |
---|---|---|
committer | Aymane Hrouch <jo.aymane@gmail.com> | 2023-04-27 14:12:04 +0200 |
commit | 28a820a8bc00c34e14cae2941250ce5ac150c987 (patch) | |
tree | 8bc5ed64061179a7222f01466d34e1415bdd6e47 /gui | |
parent | Merge pull request #192 from AymaneHrouch/update_req (diff) | |
download | gpt4free-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.py | 7 |
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) |