MilanM commited on
Commit
6d21544
·
verified ·
1 Parent(s): 6ccffb2

Update neo_sages4.py

Browse files
Files changed (1) hide show
  1. neo_sages4.py +4 -4
neo_sages4.py CHANGED
@@ -506,8 +506,8 @@ def main():
506
 
507
  if genparam.INPUT_DEBUG_VIEW == 1:
508
  with col1: # Access first column
509
- bot_name = genparam.BOT_2_NAME if chat_history_1 == st.session_state.chat_history_2 else genparam.BOT_3_NAME
510
- bot_avatar = genparam.BOT_2_AVATAR if chat_history_1 == st.session_state.chat_history_2 else genparam.BOT_3_AVATAR
511
  st.markdown(f"**{bot_avatar} {bot_name} Prompt Data:**")
512
  st.code(prompt_data, language="text")
513
 
@@ -545,8 +545,8 @@ def main():
545
 
546
  if genparam.INPUT_DEBUG_VIEW == 1:
547
  with col1: # Access first column
548
- bot_name = genparam.BOT_2_NAME if chat_history_1 == st.session_state.chat_history_2 else genparam.BOT_3_NAME
549
- bot_avatar = genparam.BOT_2_AVATAR if chat_history_1 == st.session_state.chat_history_2 else genparam.BOT_3_AVATAR
550
  st.markdown(f"**{bot_avatar} {bot_name} Prompt Data:**")
551
  st.code(prompt_data, language="text")
552
 
 
506
 
507
  if genparam.INPUT_DEBUG_VIEW == 1:
508
  with col1: # Access first column
509
+ bot_name = genparam.BOT_2_NAME if st.session_state.chat_history_1 == st.session_state.chat_history_2 else genparam.BOT_3_NAME
510
+ bot_avatar = genparam.BOT_2_AVATAR if st.session_state.chat_history_1 == st.session_state.chat_history_2 else genparam.BOT_3_AVATAR
511
  st.markdown(f"**{bot_avatar} {bot_name} Prompt Data:**")
512
  st.code(prompt_data, language="text")
513
 
 
545
 
546
  if genparam.INPUT_DEBUG_VIEW == 1:
547
  with col1: # Access first column
548
+ bot_name = genparam.BOT_2_NAME if st.session_state.chat_history_1 == st.session_state.chat_history_2 else genparam.BOT_3_NAME
549
+ bot_avatar = genparam.BOT_2_AVATAR if st.session_state.chat_history_1 == st.session_state.chat_history_2 else genparam.BOT_3_AVATAR
550
  st.markdown(f"**{bot_avatar} {bot_name} Prompt Data:**")
551
  st.code(prompt_data, language="text")
552