Spaces:
Build error
Build error
100stacks
commited on
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)],
|