Spaces:
Sleeping
Sleeping
Commit History
-
Tidy up some loose ends
26352f5 -
Merge remote-tracking branch 'origin/main'
# Conflicts: # app.py3b11883 -
Swap order of UI elements
Makes more sense to have buttons on top, especially if images are largeef6805a -
Change order of UI components
If large images are uploaded, makes more sense to have the buttons at the top.58a6a45 -
Add interactive flag to match other image input
8a3a009 -
Tidy up event listeners
Separated returning button states from functions that were more meant for their own thing8db35f3 -
Update UI
Took time to figure this out in Gradio's playground instead of committing here every three minutes, lol17317f8 -
Include original image in gallery output
33f25f1 -
Enable download button in gallery
1bb134f -
Disable webcam mirroring
4cc945b -
Change UI in Moondream tab
Toggle 'equal_height' on the row9c795ec -
Update UI and lock out buttons when no images present
331994a
-
Feed 'selected_image' as function input
29ebbdc -
Adjust UI
76d95be -
Change 'selected_image' into a Gradio component
Seems like Gradio's listeners are designed to output to other components, for the most part?e83e97c -
Start 'selected_image' at 0
Was getting "AttributeError: 'NoneType' object has no attribute '_id'", let's see if this fixes it.6879c60 -
Hook selected image from gallery into Moondream input
e881756 -
Disable preview mode again
b32931d -
Revert event listener type change
d92f93c -
Try changing interactive state another different way
1d43352 -
Try changing interactive state a different way
3c20c07 -
Debug issues with proceed button functionality
0721dd9 -
Hook proceed button to gallery's event listener
8a23239 -
Adjust gallery and rename yolos_button
4d495ce -
Remove share button and add label to selected index
e2ae5eb -
Adjust layout and test gallery event listener
cbb61c3 -
Adjust object detection layout
9b94c6b -
Add captions to detected images gallery
698fd5a -
Change YOLOS output from image to gallery of images
0a5c36c -
Fix "'Image' object is not subscriptable" error
1dc8ee5 -
Try creating cropped images from bounding boxes
da68fcd -
Fix PyCharm Pillow-related autocomplete
927201f -
Change YOLOS input image to PIL type
Trying to see if this fixes an error with the YOLOS Image Processor22d7c64 -
Add Pillow dependency
5a8720b -
Begin implementing object detection
We're using the 'hustvl/yolos-small-300' for this.ada211a -
Include new object detection model
7b6a6bf -
Remove 'torch_dtype' parameter
Turns out float16 is not supported on CPU, thank you https://stackoverflow.com/a/76126998bf22d27 -
Put timm back in because it broke
Also documented and organized things a bit better.dd6d582 -
Move Gradio app creation into main block
60a2be3 -
Try to implement threading
83c71a6 -
Replace timm with torch
d00bd74 -
Change input image type to try and fix numpy bug
adf8326 -
Change how we ask the model questions
Brings it closer to the moondream2 example space. I really wish I could test locally.2f92f19 -
Fix submit button
5a0207c -
Try loading moondream2 using parts of their example
6dafc63 -
Add timm dependency
bcff369
-
Try loading moondream2
77b3326 -
Fix build error from using Python 3.12
Trying this solution from https://stackoverflow.com/a/77364602523726f -
Update README.md
26fd683 -
Create app.py
5756dad