Updated gemini.py; use latest pegasus.