From a9baca0a7b8a0a79a8a261218c6b774cd7cf53a7 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Tue, 31 Jan 2023 16:04:35 +0000 Subject: [PATCH] python code example --- frontend/src/App.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontend/src/App.js b/frontend/src/App.js index 3f9dd5ad..6f6b63eb 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -388,6 +388,15 @@ function ModelDefinitionListFragment({data}) {
pip install {data.pkg_url}
+
Scivision Python Code:
+
+
+

import scivision

+

model = scivision.load_pretrained_model({data.url})

+

data = scivision.load_dataset({''})

+

model.predict(data)

+
+
); }