@@ -169,7 +169,6 @@ def main():
169169
170170 # Setting options for Open AI
171171 api_key = None
172- st .toast (f"Session state AI Option: { st .session_state .ai_option } " , icon = "✅" )
173172 if st .session_state .ai_option == "Open AI" :
174173 with st .expander ("Open AI Settings" ):
175174 try :
@@ -214,7 +213,6 @@ def main():
214213 file_path = general_utils .save_uploaded_file_temp (st .session_state .uploaded_file ) # Save the uploaded file
215214 if file_path :
216215 credentials_file_path = file_path
217- #st.toast(f"Credentials file uploaded {credentials_file_path}", icon="✅")
218216 else :
219217 st .toast ("Failed to save the uploaded file." , icon = "❌" )
220218
@@ -445,11 +443,7 @@ def main():
445443 st .code (st .session_state .output , language = st .session_state .code_language .lower ())
446444
447445 # Display the price of the generated code.
448- #st.toast(f"Generated code: {st.session_state.generated_code}", icon="✅")
449- #st.toast(f"Display Cost/API: {st.session_state.display_cost}", icon="✅")
450-
451446 if st .session_state .generated_code and st .session_state .display_cost :
452- st .toast (f"AI Option Inside: { st .session_state .ai_option } " , icon = "✅" )
453447 if st .session_state .ai_option == "Open AI" :
454448 selected_model = st .session_state ["openai" ]["model_name" ]
455449 if selected_model == "gpt-3" :
@@ -488,7 +482,6 @@ def main():
488482
489483 elif st .session_state .ai_option == "Gemini AI" :
490484 selected_model = st .session_state ["gemini" ]["model_name" ]
491- st .toast (f"Selected model: { selected_model } " , icon = "✅" )
492485
493486 if selected_model == "gemini-pro" :
494487 cost_per_input_char = 0.00025 # Cost per 1K input characters for online requests
0 commit comments