Spaces:
Build error
Build error
Update app.py
Browse files105 unmodified lines106107108109110111112113114105 unmodified linesif self.gaia_agent:try:# Process the question using the GAIA agent# answer = self.gaia_agent.answer_question(question)print(f"Agent generated answer: {answer[:50]}..." if len(answer) > 50 else f"Agent generated answer: {answer}")return "OK" #answerexcept Exception as e:print(f"Error processing question: {e}")# Fall back to a simple response on error105 unmodified lines106107108109110111112113114105 unmodified linesif self.gaia_agent:try:# Process the question using the GAIA agentanswer = self.gaia_agent.answer_question(question)print(f"Agent generated answer: {answer[:50]}..." if len(answer) > 50 else f"Agent generated answer: {answer}")return answerexcept Exception as e:print(f"Error processing question: {e}")# Fall back to a simple response on error
app.py+2-2