Spaces:
Running
on
Zero
Running
on
Zero
File size: 2,104 Bytes
ee75ea1 edbea7c ee75ea1 edbea7c ee75ea1 dc886d5 94ae583 ee75ea1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Sample Chat AI VTuber</title>
<link rel="stylesheet" href="aivtuber.css">
<script src="./aivtuber.js"></script>
<title>Live2Dサンプル</title>
<!-- Live2D -->
<script src="./live2dcubismcore.js"></script>
<script src="//cdn.jsdelivr.net/gh/dylanNew/live2d/webgl/Live2D/lib/live2d.min.js"></script>
<!-- PixiJS -->
<script src="//cdnjs.cloudflare.com/ajax/libs/pixi.js/5.1.3/pixi.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/pixi-live2d-display/dist/index.min.js"></script>
<!-- Kalidokit -->
<script src="//cdn.jsdelivr.net/npm/kalidokit@1.1/dist/kalidokit.umd.js"></script>
</head>
<body>
<button onclick="Motion(1);">モーション1</button>
<button onclick="Motion(2);">モーション2</button>
<button onclick="Motion(3);">モーション3</button>
<button onclick="Motion(4);">モーション4</button>
<button onclick="Motion(5);">モーション5</button>
<button onclick="Motion(6);">モーション6</button>
<canvas id="my-live2d"></canvas>
<script src="live2d.js"></script>
<script src="index.js"></script>
<div id="vtuber">
<iframe width="auto" height="315" src="https://www.youtube.com/embed/9BSgttQDyOw?si=ax2F4oAi2h9f9eGT" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<!--<img id="charaImg" src="chara.png" width="auto" height="400" />/-->
</div>
<div id="aiResponse" class="aiResponseBox">
<p class="ai-response" id="aiResponseUtterance"></p>
</div>
<div class="bottomBox">
<p id="userComment"></p>
<button id="startLiveButton" onclick="startLive();">LIVE開始</button>
<div id="submit_form">
<input type="text" id="utterance" />
<button id="sendButton" onclick="onClickSend();">送信</button>
</div>
</div>
</body>
</html> |