Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files100 unmodified lines101102103104105106107108100 unmodified linesreturn answer.strip()except Exception as e:print(f"Agent execution error: {e}")return "Unable to determine the answer."@spaces.GPU(duration=60)def run_and_submit_all( profile: gr.OAuthProfile | None):100 unmodified lines101102103104105106107108109110100 unmodified linesreturn answer.strip()except Exception as e:import tracebackprint("AGENT EXECUTION ERROR:")traceback.print_exc()return f"AGENT ERROR: {type(e).__name__}: {str(e)}"@spaces.GPU(duration=60)def run_and_submit_all( profile: gr.OAuthProfile | None):
app.py+4-2