Spaces:
Runtime error
Runtime error
Commit ·
7dc45fe
1
Parent(s): c0f6b9f
fix typos and add explanation
Browse files
app.py
CHANGED
|
@@ -20,8 +20,8 @@ def _classifier(inp):
|
|
| 20 |
|
| 21 |
iface = gr.Interface(fn=_classifier,
|
| 22 |
title="Disaster damage assessment from social media image",
|
| 23 |
-
description="This simple app allow users to load an image and assess the extent of damage
|
| 24 |
-
article="The severity of damage in an image is the extent of physical destruction shown in it. For this experiment we only consider three level of damages
|
| 25 |
examples=['Haiti-Gingerbread-2.jpg','building_damage_100.jpg','building_damage_424.jpg'],
|
| 26 |
inputs=gr.inputs.Image(shape=(IMG_SIZE, IMG_SIZE)),
|
| 27 |
outputs=gr.outputs.Label()
|
|
|
|
| 20 |
|
| 21 |
iface = gr.Interface(fn=_classifier,
|
| 22 |
title="Disaster damage assessment from social media image",
|
| 23 |
+
description="This simple app allow users to load an image and assess the extent of damage caused by an earthquake",
|
| 24 |
+
article="The severity of damage in an image is the extent of physical destruction shown in it. For this experiment we only consider three level of damages: severe damage,mild damage and no damage (none). The model was trained using data from Haiti,Ecuador,Nepal earthquakes and google images.",
|
| 25 |
examples=['Haiti-Gingerbread-2.jpg','building_damage_100.jpg','building_damage_424.jpg'],
|
| 26 |
inputs=gr.inputs.Image(shape=(IMG_SIZE, IMG_SIZE)),
|
| 27 |
outputs=gr.outputs.Label()
|