Update app.py
Browse files
app.py
CHANGED
|
@@ -10,8 +10,8 @@ def predict(img):
|
|
| 10 |
category, idx, probs = neural_net.predict(img)
|
| 11 |
return dict(zip(labels, map(float, probs)))
|
| 12 |
|
| 13 |
-
title = 'Natural Landscape
|
| 14 |
-
description = 'Click an example photo or upload
|
| 15 |
examples = ['farm.jpg', 'lake.jpg', 'solar.jpg', 'neighborhood.jpg']
|
| 16 |
inputs=gr.Image(type='pil',
|
| 17 |
label='Photo')
|
|
|
|
| 10 |
category, idx, probs = neural_net.predict(img)
|
| 11 |
return dict(zip(labels, map(float, probs)))
|
| 12 |
|
| 13 |
+
title = 'Natural Landscape Classifier'
|
| 14 |
+
description = 'Click an example photo or upload your own image!'
|
| 15 |
examples = ['farm.jpg', 'lake.jpg', 'solar.jpg', 'neighborhood.jpg']
|
| 16 |
inputs=gr.Image(type='pil',
|
| 17 |
label='Photo')
|