Spaces:
Running
Running
no more beta version
Browse files
modules/streamlit_utils.py
CHANGED
@@ -343,7 +343,7 @@ def launch_prediction(cropped_image, score_threshold, is_mobile, screen_width):
|
|
343 |
|
344 |
|
345 |
def modify_results(percentage_text_dist_thresh=0.5):
|
346 |
-
with st.expander("Method and Style modification
|
347 |
label_list = list(object_dict.values())
|
348 |
if st.session_state.prediction['labels'][-1] == 6:
|
349 |
bboxes = [[int(coord) for coord in box] for box in st.session_state.prediction['boxes'][:-1]]
|
|
|
343 |
|
344 |
|
345 |
def modify_results(percentage_text_dist_thresh=0.5):
|
346 |
+
with st.expander("Method and Style modification"):
|
347 |
label_list = list(object_dict.values())
|
348 |
if st.session_state.prediction['labels'][-1] == 6:
|
349 |
bboxes = [[int(coord) for coord in box] for box in st.session_state.prediction['boxes'][:-1]]
|