mirror of
https://github.com/sean1832/GPT-Brain
synced 2024-11-18 21:25:53 +00:00
chore: remove warning for not support language other than english banner
This commit is contained in:
parent
6a1c23962e
commit
80adf73c48
@ -160,13 +160,10 @@ with st.sidebar:
|
||||
with header:
|
||||
st.title(_('🧠GPT-Brain'))
|
||||
st.text(_('This is my personal AI powered brain feeding my own Obsidian notes. Ask anything.'))
|
||||
isEnglish = st.session_state['SESSION_LANGUAGE'] == 'en_US'
|
||||
|
||||
message(_("This is a beta version. Please [🪲report bugs](") + util.read_json_at(MANIFEST, 'bugs') + _(
|
||||
") if you find any."))
|
||||
|
||||
message(_('This version does not allow for inquiries in languages other than English.'), condition=not isEnglish)
|
||||
|
||||
|
||||
def execute_brain(q):
|
||||
# log question
|
||||
|
Loading…
Reference in New Issue
Block a user