Last active
October 11, 2018 18:36
-
-
Save terrycojones/c795e85861b4925fcf16d79ef985d50b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gor4 import GOR4 | |
_GOR4 = None | |
def predictions(sequence): | |
global _GOR4 | |
if _GOR4 is None: | |
_GOR4 = GOR4() | |
return _GOR4.predict(sequence)['predictions'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment