Spaces:
Running
Running
vishalkatheriya18
commited on
Commit
•
a66e03f
1
Parent(s):
94f41f8
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from io import BytesIO
|
|
6 |
import numpy as np
|
7 |
import cv2
|
8 |
import concurrent.futures
|
|
|
9 |
# Categories dictionary
|
10 |
categories_dict = {
|
11 |
"UpperBody": ["top", "t-shirt", "sweatshirt", "blouse", "sweater", "cardigan", "jacket", "vest"],
|
@@ -101,6 +102,7 @@ if url:
|
|
101 |
cropped_image, title = cropped_images[idx]
|
102 |
with cols[j]:
|
103 |
st.image(cropped_image, caption=title, use_column_width=True)
|
|
|
104 |
else:
|
105 |
st.write("URL Invalid...!")
|
106 |
except Exception as e:
|
|
|
6 |
import numpy as np
|
7 |
import cv2
|
8 |
import concurrent.futures
|
9 |
+
from classification import hii
|
10 |
# Categories dictionary
|
11 |
categories_dict = {
|
12 |
"UpperBody": ["top", "t-shirt", "sweatshirt", "blouse", "sweater", "cardigan", "jacket", "vest"],
|
|
|
102 |
cropped_image, title = cropped_images[idx]
|
103 |
with cols[j]:
|
104 |
st.image(cropped_image, caption=title, use_column_width=True)
|
105 |
+
st.write(hii())
|
106 |
else:
|
107 |
st.write("URL Invalid...!")
|
108 |
except Exception as e:
|