John Smith commited on
Commit
559ec57
·
1 Parent(s): 9e95b47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,9 +1,11 @@
1
  import tensorflow as tf
2
  from keras.models import load_model
3
  import gradio as gr
 
4
  model = load_model('eee.keras')
5
  def image_mod(image):
6
  new_var = "y"
 
7
  return new_var
8
 
9
  gr.Interface(fn=image_mod,
 
1
  import tensorflow as tf
2
  from keras.models import load_model
3
  import gradio as gr
4
+ from matplotlib import pyplot as plt
5
  model = load_model('eee.keras')
6
  def image_mod(image):
7
  new_var = "y"
8
+ inp = inp.reshape((-1, 256, 256, 3))
9
  return new_var
10
 
11
  gr.Interface(fn=image_mod,