smarter_npc / README.md
mishig's picture
mishig HF staff
Update README.md
26878f1
---
title: Smarter NPC
emoji: πŸ€–
colorFrom: pink
colorTo: purple
sdk: static
pinned: true
---
<body onload="window.scrollTo({top: document.body.scrollHeight, behavior: 'smooth'});">
<h1 id="smarter-npc-non-player-character-">Smarter NPC (non-player character)</h1>
<h4>Given a user input, <a href="https://huggingface.co//typeform/distilbert-base-uncased-mnli">typeform/distilbert-base-uncased-mnli</a> (Zero-Shot classification model) is used to find the closest action from the available set of actions ("dance","text","fight","run")</h4>
<p>This WebGL demo demonstrates how you can create smart NPC easily by using <a href="https://huggingface.co/inference-api">πŸ€— Inference API</a>.</p>
<p>Find the source code in <a href="https://huggingface.co/spaces/mishig/smarter_npc/tree/main">Files and Versions</a> of this Space.</p>
<p>Find the PlayCanvas project <a href="https://playcanvas.com/project/832033/overview/smarter-npc">here</a></p>
<div style="max-width: 100%;max-height: 100%;width: 100vw;height: 100vh;overflow: hidden;">
<iframe style="min-width: 100%; min-height: 100%; background: black;" allowfullscreen="true" frameborder="0" src="https://playcanv.as/p/d3jMhnMm">></iframe>
</div>
</body>