Instructions to use Sky-Kim/moonshine-tiny-ko-unity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- unity-sentis
How to use Sky-Kim/moonshine-tiny-ko-unity with unity-sentis:
string modelName = "[Your model name here].sentis"; Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName); IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model); // Please see provided C# file for more details
- Notebooks
- Google Colab
- Kaggle
Download Assets/Prefabs/TextBlock.prefab from Sky-Kim/moonshine-tiny-ko-unity: direct link, hf CLI and curl.
- Browser
- Download file 3.41 kB
-
https://huggingface.co/Sky-Kim/moonshine-tiny-ko-unity/resolve/main/Assets/Prefabs/TextBlock.prefab
- Command line
-
hf download hf://Sky-Kim/moonshine-tiny-ko-unity/Assets/Prefabs/TextBlock.prefab
-
curl -L -o TextBlock.prefab https://huggingface.co/Sky-Kim/moonshine-tiny-ko-unity/resolve/main/Assets/Prefabs/TextBlock.prefab
3.41 kB
| %YAML 1.1 | |
| %TAG !u! tag:unity3d.com,2011: | |
| --- !u!1 &4226707013875518258 | |
| GameObject: | |
| m_ObjectHideFlags: 0 | |
| m_CorrespondingSourceObject: {fileID: 0} | |
| m_PrefabInstance: {fileID: 0} | |
| m_PrefabAsset: {fileID: 0} | |
| serializedVersion: 6 | |
| m_Component: | |
| - component: {fileID: 7041322712057853844} | |
| m_Layer: 5 | |
| m_Name: TextBlock | |
| m_TagString: Untagged | |
| m_Icon: {fileID: 0} | |
| m_NavMeshLayer: 0 | |
| m_StaticEditorFlags: 0 | |
| m_IsActive: 1 | |
| --- !u!224 &7041322712057853844 | |
| RectTransform: | |
| m_ObjectHideFlags: 0 | |
| m_CorrespondingSourceObject: {fileID: 0} | |
| m_PrefabInstance: {fileID: 0} | |
| m_PrefabAsset: {fileID: 0} | |
| m_GameObject: {fileID: 4226707013875518258} | |
| m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | |
| m_LocalPosition: {x: 0, y: 0, z: 0} | |
| m_LocalScale: {x: 1, y: 1, z: 1} | |
| m_ConstrainProportionsScale: 0 | |
| m_Children: | |
| - {fileID: 9066532335516898618} | |
| m_Father: {fileID: 0} | |
| m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |
| m_AnchorMin: {x: 0, y: 0.5} | |
| m_AnchorMax: {x: 1, y: 0.5} | |
| m_AnchoredPosition: {x: 0, y: 0} | |
| m_SizeDelta: {x: 0, y: 50} | |
| m_Pivot: {x: 0.5, y: 0.5} | |
| --- !u!1 &4808541487852061083 | |
| GameObject: | |
| m_ObjectHideFlags: 0 | |
| m_CorrespondingSourceObject: {fileID: 0} | |
| m_PrefabInstance: {fileID: 0} | |
| m_PrefabAsset: {fileID: 0} | |
| serializedVersion: 6 | |
| m_Component: | |
| - component: {fileID: 9066532335516898618} | |
| - component: {fileID: 8919604523772780981} | |
| - component: {fileID: 220700122145077962} | |
| m_Layer: 5 | |
| m_Name: ResultText | |
| m_TagString: Untagged | |
| m_Icon: {fileID: 0} | |
| m_NavMeshLayer: 0 | |
| m_StaticEditorFlags: 0 | |
| m_IsActive: 1 | |
| --- !u!224 &9066532335516898618 | |
| RectTransform: | |
| m_ObjectHideFlags: 0 | |
| m_CorrespondingSourceObject: {fileID: 0} | |
| m_PrefabInstance: {fileID: 0} | |
| m_PrefabAsset: {fileID: 0} | |
| m_GameObject: {fileID: 4808541487852061083} | |
| m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | |
| m_LocalPosition: {x: 0, y: 0, z: 0} | |
| m_LocalScale: {x: 1, y: 1, z: 1} | |
| m_ConstrainProportionsScale: 0 | |
| m_Children: [] | |
| m_Father: {fileID: 7041322712057853844} | |
| m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | |
| m_AnchorMin: {x: 0, y: 0} | |
| m_AnchorMax: {x: 1, y: 0} | |
| m_AnchoredPosition: {x: 0, y: 12.5} | |
| m_SizeDelta: {x: 0, y: 50} | |
| m_Pivot: {x: 0.5, y: 0.5} | |
| --- !u!222 &8919604523772780981 | |
| CanvasRenderer: | |
| m_ObjectHideFlags: 0 | |
| m_CorrespondingSourceObject: {fileID: 0} | |
| m_PrefabInstance: {fileID: 0} | |
| m_PrefabAsset: {fileID: 0} | |
| m_GameObject: {fileID: 4808541487852061083} | |
| m_CullTransparentMesh: 1 | |
| --- !u!114 &220700122145077962 | |
| MonoBehaviour: | |
| m_ObjectHideFlags: 0 | |
| m_CorrespondingSourceObject: {fileID: 0} | |
| m_PrefabInstance: {fileID: 0} | |
| m_PrefabAsset: {fileID: 0} | |
| m_GameObject: {fileID: 4808541487852061083} | |
| m_Enabled: 1 | |
| m_EditorHideFlags: 0 | |
| m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} | |
| m_Name: | |
| m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Text | |
| m_Material: {fileID: 0} | |
| m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} | |
| m_RaycastTarget: 1 | |
| m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} | |
| m_Maskable: 1 | |
| m_OnCullStateChanged: | |
| m_PersistentCalls: | |
| m_Calls: [] | |
| m_FontData: | |
| m_Font: {fileID: 12800000, guid: 8eaccc6238a54b8488eb8fbf762bf55b, type: 3} | |
| m_FontSize: 25 | |
| m_FontStyle: 0 | |
| m_BestFit: 0 | |
| m_MinSize: 2 | |
| m_MaxSize: 40 | |
| m_Alignment: 0 | |
| m_AlignByGeometry: 0 | |
| m_RichText: 1 | |
| m_HorizontalOverflow: 1 | |
| m_VerticalOverflow: 0 | |
| m_LineSpacing: 1 | |
| m_Text: New Text | |