Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,12 +90,13 @@ with col2:
|
|
| 90 |
img_style={"margin": "5px", "height": "150px"},
|
| 91 |
key="cropped_images"
|
| 92 |
)
|
|
|
|
|
|
|
| 93 |
|
| 94 |
with col3:
|
| 95 |
st.header('details')
|
| 96 |
if gibsOk:
|
| 97 |
detectorForContents = pipeline("object-detection", model="sergioska/yolo-finetuned-flyers-content")
|
| 98 |
-
st.write(imagesForOpen)
|
| 99 |
imageForDetails = Image.open(imagesForOpen[randrange(0,totalGibs - 1)])
|
| 100 |
outputImageForDetails = np.array(imageForDetails)
|
| 101 |
predictionsForDetails = detectorForContents(
|
|
|
|
| 90 |
img_style={"margin": "5px", "height": "150px"},
|
| 91 |
key="cropped_images"
|
| 92 |
)
|
| 93 |
+
st.write('clicked')
|
| 94 |
+
st.write(clicked)
|
| 95 |
|
| 96 |
with col3:
|
| 97 |
st.header('details')
|
| 98 |
if gibsOk:
|
| 99 |
detectorForContents = pipeline("object-detection", model="sergioska/yolo-finetuned-flyers-content")
|
|
|
|
| 100 |
imageForDetails = Image.open(imagesForOpen[randrange(0,totalGibs - 1)])
|
| 101 |
outputImageForDetails = np.array(imageForDetails)
|
| 102 |
predictionsForDetails = detectorForContents(
|