vsj0702 commited on
Commit
9bf098b
·
verified ·
1 Parent(s): b46518b

fixing bug

Browse files
Files changed (1) hide show
  1. chatbot.py +1 -0
chatbot.py CHANGED
@@ -149,6 +149,7 @@ def render_chatbot(code, output, error):
149
  # 🔊 Speak
150
  speak_btn = st.button(f"🔊 Narrate #{i+1}")
151
  if speak_btn:
 
152
  status_placeholder.info("🧠 Generating narration...")
153
  bot = CodeAssistantBot()
154
  narration = bot.narrate_response(code, output, error, a, st.session_state.chat_summary)
 
149
  # 🔊 Speak
150
  speak_btn = st.button(f"🔊 Narrate #{i+1}")
151
  if speak_btn:
152
+ status_placeholder = st.empty()
153
  status_placeholder.info("🧠 Generating narration...")
154
  bot = CodeAssistantBot()
155
  narration = bot.narrate_response(code, output, error, a, st.session_state.chat_summary)