Spaces:
Build error
Build error
Update app.py
Browse files75 unmodified lines76777879807980818274 unmodified lines15715815916016116116216316475 unmodified lines elif "403" in error_msg: st.error("❌ API key doesn't have permission to access Groq API") else: st.error(f"❌ Failed to initialize Groq client: {error_msg}") st.error(f"❌ Failed to initialize Groq client: {error_msg}") return None
# Define custom exception for Groq API errors74 unmodified lines if self.contents[title].strip(): self.placeholders[title].markdown(f"## {title}\n{self.contents[title]}")
def def return_existing_contents(self, level=1) -> str: return_existing_contents(self, level=1) -> str: existing_content = "" for title, content in self.structure.items(): if self.contents[title].strip():app.py+3-3