diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-27 14:27:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 14:27:56 +0200 |
commit | e4aefb08dbdc6be4ce8e2d9a0993f673d40e691d (patch) | |
tree | 8bc5ed64061179a7222f01466d34e1415bdd6e47 | |
parent | Merge pull request #192 from AymaneHrouch/update_req (diff) | |
parent | Fix module not found: add root directory to sys path (diff) | |
download | gpt4free-e4aefb08dbdc6be4ce8e2d9a0993f673d40e691d.tar gpt4free-e4aefb08dbdc6be4ce8e2d9a0993f673d40e691d.tar.gz gpt4free-e4aefb08dbdc6be4ce8e2d9a0993f673d40e691d.tar.bz2 gpt4free-e4aefb08dbdc6be4ce8e2d9a0993f673d40e691d.tar.lz gpt4free-e4aefb08dbdc6be4ce8e2d9a0993f673d40e691d.tar.xz gpt4free-e4aefb08dbdc6be4ce8e2d9a0993f673d40e691d.tar.zst gpt4free-e4aefb08dbdc6be4ce8e2d9a0993f673d40e691d.zip |
-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) |