What I’m trying to do:
Trying to load an image into google colab and let the user select a model using the UI to run the model against Yolov7 custom dataset. I’ve tried following along with this but doenst seem to help with my issue. Deploy Machine Learning to the Web with Deepnote
What I’ve tried and what’s not working:
Im able to load image into app using the below code. I need to add user imput to
Code Sample:
@anvil.server.callable
def number_dogs(dog):
response = " Total number of dogs # %s" %
print(response)
return response
def proccess_image_remote(image):
image
def file_loader_imageuploader_change(self, file, **event_args):
uploaded_image = self.file_loader_imageuploader_change.file
self.image_origImage.source = uploaded_image
if name == “main”:
try:
anvil.server.wait_forever()
except KeyboardInterrupt:
print(“… exting.”) ```
**Clone link:**
https://CVPIB56UGZENTJYD.anvil.app/LIWJOB44YD5LBLWWDORUIOX3