cybernatedArt commited on
Commit
2df657b
1 Parent(s): 191f9fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import tensorflow as tf
3
 
4
- path_to_model = "model_2.h5"
5
 
6
  model = tf.keras.models.load_model(path_to_model)
7
 
@@ -29,7 +29,7 @@ def classify_image(inp):
29
  gr.Interface(fn=classify_image,
30
  inputs=gr.inputs.Image(shape=(256, 256)),
31
  outputs=gr.outputs.Label(num_top_classes=3),
32
- examples=["123.jpg", "distal-subungual-onychomycosis-86.jpg"]).launch()
33
 
34
 
35
 
 
1
  import gradio as gr
2
  import tensorflow as tf
3
 
4
+ path_to_model = "./model_2.h5"
5
 
6
  model = tf.keras.models.load_model(path_to_model)
7
 
 
29
  gr.Interface(fn=classify_image,
30
  inputs=gr.inputs.Image(shape=(256, 256)),
31
  outputs=gr.outputs.Label(num_top_classes=3),
32
+ examples=["./123.jpg", "./distal-subungual-onychomycosis-86.jpg"]).launch()
33
 
34
 
35