alexluna4 commited on
Commit
72e009a
·
verified ·
1 Parent(s): fcd7073

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,7 +1,11 @@
1
  import gradio as gr
 
2
  import torch
3
  from torch import nn
4
  from torchvision import transforms
 
 
 
5
 
6
  # Load the model cause it is necessary for pytorch
7
 
 
1
  import gradio as gr
2
+ import numpy as np
3
  import torch
4
  from torch import nn
5
  from torchvision import transforms
6
+ import matplotlib.pyplot as plt
7
+ from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
8
+ import PIL.Image
9
 
10
  # Load the model cause it is necessary for pytorch
11