Spaces:
Sleeping
Sleeping
100stacks
commited on
Commit
•
49f86d5
1
Parent(s):
d10fb75
chore: fix typo
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def predict(input_img):
|
|
10 |
|
11 |
return input_img, {p['label']: p['score'] for p in predictions}
|
12 |
|
13 |
-
gradio_app = Interface(
|
14 |
predict,
|
15 |
inputs=gr.Image(label='Select hot dog candidate', sources=['upload', 'webcam'], type='pil'),
|
16 |
outputs=[gr.Image(label='Processed Image'), gr.Label(label='Result', num_top_classes=2)],
|
|
|
10 |
|
11 |
return input_img, {p['label']: p['score'] for p in predictions}
|
12 |
|
13 |
+
gradio_app = gr.Interface(
|
14 |
predict,
|
15 |
inputs=gr.Image(label='Select hot dog candidate', sources=['upload', 'webcam'], type='pil'),
|
16 |
outputs=[gr.Image(label='Processed Image'), gr.Label(label='Result', num_top_classes=2)],
|