Spaces:
Running
Running
lanzhiwang
commited on
Commit
•
b1d99f6
1
Parent(s):
6f7cbda
test
Browse files- README-bak.md +0 -18
- README.md +8 -18
README-bak.md
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Smarter NPC
|
3 |
-
emoji: 🤖
|
4 |
-
colorFrom: pink
|
5 |
-
colorTo: purple
|
6 |
-
sdk: static
|
7 |
-
pinned: true
|
8 |
-
---
|
9 |
-
<body onload="window.scrollTo({top: document.body.scrollHeight, behavior: 'smooth'});">
|
10 |
-
<h1 id="smarter-npc-non-player-character-">Smarter NPC (non-player character)</h1>
|
11 |
-
<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>
|
12 |
-
<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>
|
13 |
-
<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>
|
14 |
-
<p>Find the PlayCanvas project <a href="https://playcanvas.com/project/832033/overview/smarter-npc">here</a></p>
|
15 |
-
<div style="max-width: 100%;max-height: 100%;width: 100vw;height: 100vh;overflow: hidden;">
|
16 |
-
<iframe style="min-width: 100%; min-height: 100%; background: black;" allowfullscreen="true" frameborder="0" src="https://playcanv.as/p/d3jMhnMm">></iframe>
|
17 |
-
</div>
|
18 |
-
</body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -7,22 +7,12 @@ sdk: static
|
|
7 |
pinned: true
|
8 |
---
|
9 |
<body onload="window.scrollTo({top: document.body.scrollHeight, behavior: 'smooth'});">
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
</p>
|
19 |
-
<p>
|
20 |
-
Find the source code in <a href="https://huggingface.co/spaces/mishig/smarter_npc/tree/main">Files and Versions</a> of this Space.
|
21 |
-
</p>
|
22 |
-
<p>
|
23 |
-
Find the PlayCanvas project <a href="https://playcanvas.com/project/832033/overview/smarter-npc">here</a>
|
24 |
-
</p>
|
25 |
-
<div style="max-width: 100%;max-height: 100%;width: 100vw;height: 100vh;overflow: hidden;">
|
26 |
-
<iframe style="min-width: 100%; min-height: 100%; background: black;" allowfullscreen="true" frameborder="0" src="https://playcanv.as/p/d3jMhnMm">></iframe>
|
27 |
-
</div>
|
28 |
</body>
|
|
|
7 |
pinned: true
|
8 |
---
|
9 |
<body onload="window.scrollTo({top: document.body.scrollHeight, behavior: 'smooth'});">
|
10 |
+
<h1 id="smarter-npc-non-player-character-">Smarter NPC (non-player character)</h1>
|
11 |
+
<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>
|
12 |
+
<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>
|
13 |
+
<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>
|
14 |
+
<p>Find the PlayCanvas project <a href="https://playcanvas.com/project/832033/overview/smarter-npc">here</a></p>
|
15 |
+
<div style="max-width: 100%;max-height: 100%;width: 100vw;height: 100vh;overflow: hidden;">
|
16 |
+
<iframe style="min-width: 100%; min-height: 100%; background: black;" allowfullscreen="true" frameborder="0" src="https://playcanv.as/p/d3jMhnMm">></iframe>
|
17 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
</body>
|