Skip to content

Instantly share code, notes, and snippets.

@terrycojones
Last active October 11, 2018 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save terrycojones/c795e85861b4925fcf16d79ef985d50b to your computer and use it in GitHub Desktop.
Save terrycojones/c795e85861b4925fcf16d79ef985d50b to your computer and use it in GitHub Desktop.
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