Hook to check if the Python scraper is ready.
Use this to conditionally enable/disable web parsing features while Python is still loading.
function WebParsingButton() { const isPythonReady = usePythonReady(); return ( <Button disabled={!isPythonReady} onPress={handleParse} > {isPythonReady ? 'Parse Recipe' : 'Loading...'} </Button> );} Copy
function WebParsingButton() { const isPythonReady = usePythonReady(); return ( <Button disabled={!isPythonReady} onPress={handleParse} > {isPythonReady ? 'Parse Recipe' : 'Loading...'} </Button> );}
Hook to check if the Python scraper is ready.
Use this to conditionally enable/disable web parsing features while Python is still loading.