get html input in django

OpenAI API failed. Please try your prompt again.