Spaces:
Runtime error
Runtime error
Update app.py
Browse files2 unmodified lines34567896 unmodified lines1617181819201920212223242 unmodified linesimport requestsimport inspectimport pandas as pdfrom Final_Assignment_Template.my_agent import agent
# (Keep Constants as is)# --- Constants ---6 unmodified lines print("BasicAgent initialized.") def __call__(self, question: str) -> str: print(f"Agent received question (first 50 chars): {question[:50]}...") fixed_answer = "This is a default answer." print(f"Agent returning fixed answer: {fixed_answer}") return fixed_answer agent_response = agent.run(question) print(f"Agent returning fixed answer: {agent_response}") return agent_response
def run_and_submit_all( profile: gr.OAuthProfile | None): """app.py+4-3