aai198 commited on
Commit
84d04df
·
1 Parent(s): 26878f1

bubble chat

Browse files
Files changed (1) hide show
  1. README.md +13 -13
README.md CHANGED
@@ -1,18 +1,18 @@
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>
 
1
  ---
2
+ title: static bubble chat
3
  emoji: 🤖
4
+ colorFrom: blue
5
+ colorTo: green
6
  sdk: static
7
+ pinned: false
8
  ---
9
+ <body>
10
+ <script type="module">
11
+ import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js"
12
+ Chatbot.init({
13
+ chatflowid: "85392730-2d78-4563-a364-b7f1e9d1b698",
14
+ apiHost: "https://aai.eduhk.hk",
15
+ })
16
+ </script>
17
+
18
  </body>