Fu-chiang commited on
Commit
1dab5dd
1 Parent(s): e34d644

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ def predict(image):
7
  predictions = pipeline(image)
8
  return {p["label"]: p["score"] for p in predictions}
9
 
 
10
  gr.Interface(
11
  predict,
12
  inputs=gr.inputs.Image(label="Upload Pharynx photo", type="filepath"),
 
7
  predictions = pipeline(image)
8
  return {p["label"]: p["score"] for p in predictions}
9
 
10
+
11
  gr.Interface(
12
  predict,
13
  inputs=gr.inputs.Image(label="Upload Pharynx photo", type="filepath"),