Spaces:
Running
Running
lanzhiwang
commited on
Commit
•
d3e2787
1
Parent(s):
b1d99f6
nginx
Browse files- Dockerfile +3 -0
- README.md +0 -10
- index.html +10 -0
Dockerfile
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
FROM nginx:1.25.3
|
2 |
+
|
3 |
+
COPY . /usr/share/nginx/html
|
README.md
CHANGED
@@ -6,13 +6,3 @@ 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>
|
|
|
6 |
sdk: static
|
7 |
pinned: true
|
8 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
index.html
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<body onload="window.scrollTo({top: document.body.scrollHeight, behavior: 'smooth'});">
|
2 |
+
<h1 id="smarter-npc-non-player-character-">Smarter NPC (non-player character)</h1>
|
3 |
+
<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>
|
4 |
+
<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>
|
5 |
+
<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>
|
6 |
+
<p>Find the PlayCanvas project <a href="https://playcanvas.com/project/832033/overview/smarter-npc">here</a></p>
|
7 |
+
<div style="max-width: 100%;max-height: 100%;width: 100vw;height: 100vh;overflow: hidden;">
|
8 |
+
<iframe style="min-width: 100%; min-height: 100%; background: black;" allowfullscreen="true" frameborder="0" src="https://playcanv.as/p/d3jMhnMm">></iframe>
|
9 |
+
</div>
|
10 |
+
</body>
|