accelerate torch diffusers pathlib textwrap requests google.generativeai as genai json IPython.display