Spaces:
Build error
Build error
Update app.py
Browse files2358 unmodified lines2359236023612362236323642365236623672368236923702371237223732374237523762377237823792380358 unmodified lines27392740274127422743274427452358 unmodified linesprint(f"Error in ARC evaluation: {str(e)}")return None, Nonedef get_user_input() -> str:"""Get user input for the query variable."""try:print("\nEnter your query (press Ctrl+D or Ctrl+Z to finish):")query_lines = []while True:try:line = input()query_lines.append(line)except EOFError:breakreturn "\n".join(query_lines)except Exception as e:print(f"Error reading input: {str(e)}")return ""#This class is for the user query boss llm for creating agents to solve user query tasks.class BossAgent:def __init__(self, llm: DynamicLLM):358 unmodified lines"""Main execution function."""llm = DynamicLLM()# Get user input for queryquery = get_user_input()# Initialize componentsquery_handler = QueryHandler.process_query()# Access each value2358 unmodified lines23592360236123622363236423652366236723682369237023712372358 unmodified lines27312732273327342735273627372358 unmodified linesprint(f"Error in ARC evaluation: {str(e)}")return None, Nonedef get_user_input(user_input: str) -> str:"""Get user input for the query variable."""try:return user_inputexcept Exception as e:print(f"Error reading input: {str(e)}")return ""#This class is for the user query boss llm for creating agents to solve user query tasks.class BossAgent:def __init__(self, llm: DynamicLLM):358 unmodified lines"""Main execution function."""llm = DynamicLLM()# Get user input for queryquery = get_user_input(user_input)# Initialize componentsquery_handler = QueryHandler.process_query()# Access each value
app.py+4-12