Update app.py
Browse files
app.py
CHANGED
@@ -86,8 +86,9 @@ def predict(image_path):
|
|
86 |
model = load_model('best_model.pth')
|
87 |
|
88 |
title = 'Mars DTM Estimation'
|
89 |
-
description = '
|
90 |
-
'
|
|
|
91 |
'<i>1m/px</i> resolution to get predictions in the correct range. You can download the mesh by clicking ' \
|
92 |
'the top-right button on the 3D viewer. '
|
93 |
examples = [f'examples/{name}' for name in sorted(os.listdir('examples'))]
|
|
|
86 |
model = load_model('best_model.pth')
|
87 |
|
88 |
title = 'Mars DTM Estimation'
|
89 |
+
description = 'Demo based on my <a href="https://medium.com/towards-data-science/monocular-depth-estimation-to-predict-surface-reliefs-of-mars' \
|
90 |
+
'-1b50aed3361a">article</a>. It predicts a DTM from an image of the martian surface. Then, by using a surface reconstruction algorithm, ' \
|
91 |
+
'the 3D model is generated and it can also be downloaded. Uploaded images must have a ' \
|
92 |
'<i>1m/px</i> resolution to get predictions in the correct range. You can download the mesh by clicking ' \
|
93 |
'the top-right button on the 3D viewer. '
|
94 |
examples = [f'examples/{name}' for name in sorted(os.listdir('examples'))]
|