api.createWindow({src: "https://gist.githubusercontent.com/Nanguage/27a003bec90ee8fdd29859cb446c608d/raw/61cf6dd384998002a33336ca0018373c217ed61d/mi_panel.imjoy.html", data: {id: ${id}}})
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import micropip | |
await micropip.install(['imjoy-rpc', 'kaibu-utils', 'pyodide-http', 'requests', 'numpy']) | |
# Patch requests | |
import pyodide_http | |
pyodide_http.patch_all() # Patch all libraries | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from imjoy_rpc.hypha import connect_to_server | |
from kaibu_utils import fetch_image |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<docs> | |
[TODO: write documentation for this plugin.] | |
</docs> | |
<config lang="json"> | |
{ | |
"name": "chatbot-bioengine-client", | |
"type": "web-worker", | |
"tags": [], | |
"ui": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import micropip | |
await micropip.install(['imjoy-rpc', 'kaibu-utils', 'pyodide-http', 'requests']) | |
# Patch requests | |
import pyodide_http | |
pyodide_http.patch_all() # Patch all libraries | |
import matplotlib.pyplot as plt | |
from imjoy_rpc.hypha import connect_to_server | |
from kaibu_utils import fetch_image |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<docs> | |
[TODO: write documentation for this plugin.] | |
</docs> | |
<config lang="json"> | |
{ | |
"name": "SAM-Kaibu", | |
"type": "iframe", | |
"tags": [], | |
"ui": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Test the triton server proxy.""" | |
from PIL import Image | |
import msgpack | |
import numpy as np | |
import requests | |
import gzip | |
import json | |
def get_config(server_url, model_name): | |
response = requests.get( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import micropip | |
await micropip.install(["pyotritonclient", "kaibu-utils", "pyodide-http", "requests"]) | |
import pyodide_http | |
pyodide_http.patch_all() # Patch all libraries | |
from kaibu_utils import fetch_image | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from pyotritonclient import execute |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import micropip | |
await micropip.install("kaibu-utils") | |
import pyodide_http | |
pyodide_http.patch_all() | |
from kaibu_utils import fetch_image | |
image = await fetch_image('https://zenodo.org/api/records/6647674/files/sample_input_0.tif/content') | |
ij = await api.createWindow(src = "https://ij.imjoy.io/", name="ImageJ.JS") | |
client = await api.createWindow("https://bioimage-io.github.io/bioengine-web-client/") | |
await client.waitForReady() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<docs> | |
[TODO: write documentation for this plugin.] | |
</docs> | |
<config lang="json"> | |
{ | |
"name": "Chatbot launcher", | |
"type": "web-worker", | |
"tags": [], | |
"ui": "", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder