Skip to content

Commit eeba66f

Browse files
committed
Remove error toast messages
1 parent 346f661 commit eeba66f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

script.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ def main():
104104

105105
except Exception as exception:
106106
logger.error(f"Error loading : {str(exception)}")
107-
st.toast(f"Error loading : {str(exception)}", icon="❌")
108107

109108
# Create API key input box on error.
110109
api_key = st.text_input("API Key", value="", key="api_key", type="password")
@@ -197,7 +196,6 @@ def main():
197196
logger.info("Palm AI API key is initialized from App secrets.")
198197
except Exception as exception:
199198
logger.error(f"Error loading : {str(exception)}")
200-
st.toast(f"Error loading : {str(exception)}", icon="❌")
201199

202200
# Create API key input box on error.
203201
api_key = st.text_input("API Key", value="", key="api_key", type="password")
@@ -230,7 +228,6 @@ def main():
230228
logger.info("Gemini AI API key is initialized from App secrets.")
231229
except Exception as exception:
232230
logger.error(f"Error loading : {str(exception)}")
233-
st.toast(f"Error loading : {str(exception)}", icon="❌")
234231

235232
# Create API key input box on error.
236233
api_key = st.text_input("API Key", value="", key="api_key", type="password")

0 commit comments

Comments
 (0)