Spaces:
Build error
Build error
update
Browse files
utils.py
CHANGED
@@ -305,16 +305,16 @@ def print_classification(col2, content_file, pred_info):
|
|
305 |
"""
|
306 |
|
307 |
with col2:
|
308 |
-
col2.markdown('
|
309 |
col2.markdown('')
|
310 |
if pred_info['maker'] != 'This is not car part !':
|
311 |
-
col2.markdown('
|
312 |
-
col2.markdown('
|
313 |
-
col2.markdown('
|
314 |
-
col2.markdown('
|
315 |
-
col2.markdown('
|
316 |
-
col2.markdown('
|
317 |
-
col2.markdown('
|
318 |
else:
|
319 |
col2.markdown('### {}'.format(pred_info['maker']))
|
320 |
|
|
|
305 |
"""
|
306 |
|
307 |
with col2:
|
308 |
+
col2.markdown('##### Predicted information')
|
309 |
col2.markdown('')
|
310 |
if pred_info['maker'] != 'This is not car part !':
|
311 |
+
col2.markdown('###### - {}'.format(pred_info['maker']))
|
312 |
+
col2.markdown('###### - {}'.format(pred_info['model']))
|
313 |
+
col2.markdown('###### - {}'.format(pred_info['vehicle']))
|
314 |
+
col2.markdown('###### - {}'.format(pred_info['year']))
|
315 |
+
col2.markdown('###### - {}'.format(pred_info['part']))
|
316 |
+
col2.markdown('###### - {}'.format(pred_info['predict_time']))
|
317 |
+
col2.markdown('###### - {}'.format(pred_info['sim_score']))
|
318 |
else:
|
319 |
col2.markdown('### {}'.format(pred_info['maker']))
|
320 |
|