Duplicated from Tonic/yestara
135 unmodified lines136137138139139140141142135 unmodified lines result = client.predict( image_path, # URL of the image True, # Additional parameter for the server (e.g., enable detailed captioning) fn_index="caption" fn_index=2 ) return result