Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"),
|