change those lines to from tensorflow.python.keras.models

Source: Deep Learning on Medium

import json
import requests
from keras.models import Sequential
from keras.layers import Activation, Dense, Dropout, LSTM

import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import seaborn as sns
from s…