Spaces:
Running
Running
vishalkatheriya18
commited on
Commit
•
cb3b2f4
1
Parent(s):
0861614
Update app.py
Browse files
app.py
CHANGED
@@ -139,6 +139,16 @@ if url:
|
|
139 |
idx = i * num_columns + j
|
140 |
if idx < len(cropped_images_list):
|
141 |
cropped_image, title = cropped_images_list[idx]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
with cols[j]:
|
143 |
st.image(cropped_image, caption=title, use_column_width=True)
|
144 |
|
|
|
139 |
idx = i * num_columns + j
|
140 |
if idx < len(cropped_images_list):
|
141 |
cropped_image, title = cropped_images_list[idx]
|
142 |
+
# st.write(f"Detected category: {category_name}")
|
143 |
+
# cs=time.time()
|
144 |
+
# if category_name=="Neck":
|
145 |
+
# st.write("neck")
|
146 |
+
# outputs[category_name]=pipes(cropped_image, category_name)
|
147 |
+
# else:
|
148 |
+
# outputs[category_name]=pipes(rmimg, category_name)
|
149 |
+
# st.write("other")
|
150 |
+
# time_taken[f"{category_name} prediction time"]=time.time()-cs
|
151 |
+
# st.write(pipes(cropped_image, category_name))
|
152 |
with cols[j]:
|
153 |
st.image(cropped_image, caption=title, use_column_width=True)
|
154 |
|