Spaces:
Build error
Build error
Update app.py
Browse files105 unmodified lines106107108109109110111111112113114105 unmodified lines if self.gaia_agent: try: # Process the question using the GAIA agent # answer = self.gaia_agent.answer_question(question) 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" #answer return answer except Exception as e: print(f"Error processing question: {e}") # Fall back to a simple response on errorapp.py+2-2