demo / app.py
Ammar971's picture
Update app.py
71b3139
raw
history blame
661 Bytes
import tensorflow as tf
from tensorflow import keras
from keras import layers
from keras import activations
from keras.datasets import mnist
from keras.utils import to_categorical
from keras.models import Sequential
import numpy as np
import matplotlib.pyplot as plt
from sklearn.metrics import confusion_matrix
import pandas as pd
import gradio as gr
from gradio import Interface
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import datasets, layers, models
import numpy as np
import pandas as pd
import matplotlib.image as mpimg
X_train = pd.read_csv("demo/csvTrainImages 60k x 784.csv")
print('X_train shape', X_train.shape)