fiona10 commited on
Commit
a7e12eb
·
1 Parent(s): 2ede545

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  from tensorflow import keras
2
  import gradio as gr
3
- path_to_model = "my_model_new_vgg.h5"
4
 
5
  model = keras.models.load_model(path_to_model)
6
 
@@ -15,6 +15,6 @@ def classify_image(inp):
15
  iface = gr.Interface(fn=classify_image,
16
  inputs=gr.inputs.Image(shape=(224, 224)),
17
  outputs=gr.outputs.Label(num_top_classes=4),
18
- theme = "darkhuggingface"
19
  )
20
  iface.launch(debug=True)
 
1
  from tensorflow import keras
2
  import gradio as gr
3
+ path_to_model = "modelPredict.h5"
4
 
5
  model = keras.models.load_model(path_to_model)
6
 
 
15
  iface = gr.Interface(fn=classify_image,
16
  inputs=gr.inputs.Image(shape=(224, 224)),
17
  outputs=gr.outputs.Label(num_top_classes=4),
18
+ #theme = "darkhuggingface"
19
  )
20
  iface.launch(debug=True)