input: from typing import List
  
  def generate_response(model, input: str, max_length: int) -> str:
      """ Generate a natural language response using a given model.
      >>> generate_response(model, "What time is it?", 20)
      "It is 10:30 AM"
      """
output:     response = model.generate(input, max_length=max_length)
      return response