cli/streamingphish/streamingphish/predictor.py
def _manual_mode(self):
        """
        Deploys loaded classifier in manual mode. User can type 'exit' or 'quit' at any time.

        No args and doesn't return anything, simply returns to caller when user exits.
        """
        tqdm.tqdm.write("[+] Deploying in manual mode. Type 'exit' or 'quit' at"
                        " any time to return to the main menu.")
        while True:
            evaluate = str(input("FQDN/Host/URL: ").lower())
            if evaluate not in ['quit', 'exit']:
                result = self._score([evaluate])
                if result[0] >= 0.5:
                    prediction = "PHISHING"
                else:
                    prediction = "NOT PHISHING"
                tqdm.tqdm.write("[{}]: {:.3f}".format(prediction, result[0]))
            else:
                # User wants to quit - abandon ship.
                tqdm.tqdm.write("[+] Returning to main menu.")
                break

        Deploys loaded classifier in manual mode. User can type 'exit' or 'quit' at any time.

        No args and doesn't return anything, simply returns to caller when user exits.
        
Deploys loaded classifier in manual mode. User can type 'exit' or 'quit' at any time.
No args and doesn't return anything, simply returns to caller when user exits.
Deploys loaded classifier in manual mode . User can type ' exit ' or ' quit ' at any time . No args and doesn ' t return anything simply returns to caller when user exits .
def _manual_mode(self):
        tqdm.tqdm.write("[+] Deploying in manual mode. Type 'exit' or 'quit' at"
                        " any time to return to the main menu.")
        while True:
            evaluate = str(input("FQDN/Host/URL: ").lower())
            if evaluate not in ['quit', 'exit']:
                result = self._score([evaluate])
                if result[0] >= 0.5:
                    prediction = "PHISHING"
                else:
                    prediction = "NOT PHISHING"
                tqdm.tqdm.write("[{}]: {:.3f}".format(prediction, result[0]))
            else:
                tqdm.tqdm.write("[+] Returning to main menu.")
                break
def _manual_mode ( self ) : tqdm . tqdm . write ( "[+] Deploying in manual mode. Type 'exit' or 'quit' at" " any time to return to the main menu." ) while True : evaluate = str ( input ( "FQDN/Host/URL: " ) . lower ( ) ) if evaluate not in [ 'quit' , 'exit' ] : result = self . _score ( [ evaluate ] ) if result [ 0 ] >= 0.5 : prediction = "PHISHING" else : prediction = "NOT PHISHING" tqdm . tqdm . write ( "[{}]: {:.3f}" . format ( prediction , result [ 0 ] ) ) else : tqdm . tqdm . write ( "[+] Returning to main menu." ) break
Deploys loaded classifier in manual mode.
Deploys loaded classifier in manual mode .
"""
        Deploys loaded classifier in manual mode. User can type 'exit' or 'quit' at any time.

        No args and doesn't return anything, simply returns to caller when user exits.
        """ # User wants to quit - abandon ship.
self