syedhassan2003 commited on
Commit
b0edca7
·
verified ·
1 Parent(s): b7b0d0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ import gradio as gr
8
  # CONFIG
9
  # -----------------------
10
  MODEL_REPO_ID = "BunkerMinecraft/neurecaiv2" # <-- change this
11
- MODEL_FILENAME = "keras_model.h5"
12
  LABELS_FILENAME = "labels.txt"
13
  IMAGE_SIZE = (224, 224) # TM fixed size
14
 
@@ -72,7 +72,7 @@ interface = gr.Interface(
72
  inputs=gr.Image(type="pil", label="Upload an image"),
73
  outputs=[gr.Label(label="Predicted class"), gr.Number(label="Confidence")],
74
  title="Teachable Machine Classifier",
75
- description="Upload an image to classify using your keras_Model.h5 Teachable Machine model."
76
  )
77
 
78
  if __name__ == "__main__":
 
8
  # CONFIG
9
  # -----------------------
10
  MODEL_REPO_ID = "BunkerMinecraft/neurecaiv2" # <-- change this
11
+ MODEL_FILENAME = "teachable_machine_model.h5"
12
  LABELS_FILENAME = "labels.txt"
13
  IMAGE_SIZE = (224, 224) # TM fixed size
14
 
 
72
  inputs=gr.Image(type="pil", label="Upload an image"),
73
  outputs=[gr.Label(label="Predicted class"), gr.Number(label="Confidence")],
74
  title="Teachable Machine Classifier",
75
+ description="Upload an image to classify using your keras model.h5 Teachable Machine model."
76
  )
77
 
78
  if __name__ == "__main__":