Spaces:
Running
Running
File size: 28,117 Bytes
1afc4b6 |
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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Aged Guru</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Google Fonts for better typography -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<!-- Include necessary CSS styles -->
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="coder.css">
<link rel="stylesheet" href="digital.human.video.css">
<link rel="stylesheet" href="digital.human.audio.css">
<link rel="stylesheet" href="advanced.math.css">
<link rel="stylesheet" href="interdisciplinary.css"> <!-- New CSS for Interdisciplinary -->
<link rel="stylesheet" href="podcast.css">
<link rel="stylesheet" href="insights.css">
</head>
<body>
<!-- Sidebar -->
<div class="sidebar">
<h2>AGED GURU</h2>
<a href="#" class="active" data-content="voice">Digital Human Voice</a>
<a href="#" data-content="video">Digital Human Video</a>
<a href="#" data-content="interdisciplinary">Interdisciplinary Studies Assistant</a>
<a href="#" data-content="coder">Young Coder</a>
<a href="#" data-content="advanced-math">Advanced Mathematics & Problem Solving</a>
<a href="#" data-content="podcast">Podcast</a>
<a href="#" data-content="insights">Insights</a>
<a href="#" data-content="knowledge-base">Knowledge Base</a>
<a href="#" data-content="digital-twin">Digital Twin</a>
<a href="#" data-content="3d-explorer">3D Explorer</a>
</div>
<!-- Main Content -->
<div class="main-content" id="main-content">
<div class="header">
<h1>5-MIN SCIENTIST PORTAL</h1>
<!-- You can add user profile or settings here -->
</div>
<!-- Content will be loaded here -->
<div id="content-area">
<!-- -----------------Digital Human Voice Content Starts---------------- -->
<div id="voice" class="content-section">
<div class="card voice-card">
<!-- Digital Human Voice Layout -->
<div class="voice-options">
<!-- Model Selection Section -->
<div id="voice-model-selection-container" class="option-section">
<label for="voice-model-selection">Select Model:</label>
<select id="voice-model-selection"></select>
<button id="voice-download" disabled>Initialize Model</button>
</div>
<!-- Voice Selection Section -->
<div id="voice-tool-selection-container" class="option-section">
<label for="voice-tools">Select Voice:</label>
<select id="voice-tools"></select>
</div>
<!-- Speech Controls Section -->
<div id="voice-speech-controls" class="option-section">
<label for="voice-speech-rate">Speech Rate:</label>
<input type="range" id="voice-speech-rate" min="0.5" max="2" step="0.1" value="1" disabled>
<label for="voice-speech-pitch">Speech Pitch:</label>
<input type="range" id="voice-speech-pitch" min="0" max="2" step="0.1" value="1" disabled>
</div>
<!-- Logs Section -->
<div id="voice-logs-container" class="option-section">
<h3>Logs</h3>
<div id="voice-logs">
<!-- Logs will appear here -->
</div>
<button id="voice-clear-logs">Clear Logs</button>
</div>
</div>
<div class="chat-window">
<!-- Chat Box Section -->
<div id="voice-chat-container">
<div id="voice-chat-box">
<!-- Chat messages will appear here -->
</div>
<!-- Chat Stats -->
<div id="voice-chat-stats" class="hidden">Runtime Stats: N/A</div>
<!-- Chat Input Section -->
<div id="voice-text-input-container">
<input type="text" id="voice-text-input" placeholder="Type your message here..." disabled>
<button id="voice-submit-button" disabled>Send</button>
</div>
<!-- Microphone Controls -->
<div id="voice-mic-container">
<button id="voice-start_button" aria-label="Start Voice Input" disabled>
<!-- Mic Icon SVG -->
<svg class="mic-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 14a3 3 0 003-3V5a3 3 0 00-6 0v6a3 3 0 003 3zm5-3a5 5 0 01-10 0H5a7 7 0 0014 0h-2z"/>
</svg>
</button>
<button id="voice-stop_button" aria-label="Stop Speech" disabled>
<!-- Stop Icon SVG -->
<svg class="stop-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<rect x="6" y="6" width="12" height="12" rx="2" ry="2"></rect>
</svg>
</button>
</div>
</div>
<!-- Loading Spinner -->
<div id="voice-loading-spinner" class="hidden">
<div class="spinner"></div>
</div>
<!-- Configuration Info -->
<div id="voice-configuration" class="hidden">
<p>Model Initialized: <span id="voice-selected-model">N/A</span></p>
</div>
</div>
</div>
</div>
<!-- -----------------Digital Human Voice Content Ends---------------- -->
<!-- --------------------Digital Human Mentor Video Content Starts---------------- -->
<div id="video" class="content-section hidden">
<div class="card video-card">
<!-- Video Options -->
<div class="video-options">
<!-- Model Selection Section -->
<div id="video-model-selection-container" class="option-section">
<label for="video-model-selection">Select Model:</label>
<select id="video-model-selection"></select>
<button id="video-download" disabled>Initialize Model</button>
</div>
<!-- Voice Selection Section -->
<div id="video-tool-selection-container" class="option-section">
<label for="video-tools">Select Voice:</label>
<select id="video-tools"></select>
</div>
<!-- Speech Controls Section -->
<div id="video-speech-controls" class="option-section">
<label for="video-speech-rate">Speech Rate:</label>
<input type="range" id="video-speech-rate" min="0.5" max="2" step="0.1" value="1" disabled>
<label for="video-speech-pitch">Speech Pitch:</label>
<input type="range" id="video-speech-pitch" min="0" max="2" step="0.1" value="1" disabled>
</div>
<!-- Logs Section -->
<div id="video-logs-container" class="option-section">
<h3>Logs</h3>
<div id="video-logs">
<!-- Logs will appear here -->
</div>
<button id="video-clear-logs">Clear Logs</button>
</div>
</div>
<!-- New: Wrapper for Chat Window and Image Upload Section -->
<div class="video-main">
<!-- Chat Window Section -->
<div class="chat-window">
<!-- Chat Box Section -->
<div id="video-chat-container">
<div id="video-chat-box">
<!-- Chat messages will appear here -->
</div>
<!-- Chat Stats -->
<div id="video-chat-stats" class="hidden">Runtime Stats: N/A</div>
<!-- Chat Input Section -->
<div id="video-text-input-container">
<input type="text" id="video-text-input" placeholder="Type your message here..." disabled>
<button id="video-submit-button" disabled>Send</button>
</div>
<!-- Microphone Controls -->
<div id="video-mic-container">
<button id="video-start_button" aria-label="Start Voice Input" disabled>
<!-- Mic Icon SVG -->
<svg class="mic-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 14a3 3 0 003-3V5a3 3 0 00-6 0v6a3 3 0 003 3zm5-3a5 5 0 01-10 0H5a7 7 0 0014 0h-2z"/>
</svg>
</button>
<button id="video-stop_button" aria-label="Stop Speech" disabled>
<!-- Stop Icon SVG -->
<svg class="stop-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<rect x="6" y="6" width="12" height="12" rx="2" ry="2"></rect>
</svg>
</button>
</div>
</div>
<!-- Loading Spinner -->
<div id="video-loading-spinner" class="hidden">
<div class="spinner"></div>
</div>
<!-- Configuration Info -->
<div id="video-configuration" class="hidden">
<p>Model Initialized: <span id="video-selected-model">N/A</span></p>
</div>
</div>
<!-- Image Upload and Canvas Section -->
<div class="video-image-section">
<!-- Tab Navigation -->
<div class="image-tabs">
<button class="tab-button active" data-tab="upload">Upload Image</button>
<button class="tab-button" data-tab="webcam">Webcam</button>
<button class="tab-button" data-tab="draw">Draw</button>
</div>
<!-- Tab Contents -->
<div class="tab-content upload-tab">
<h3>Upload and Analyze Image</h3>
<input type="file" id="video-image-upload" accept="image/*" />
<canvas id="video-image-canvas"></canvas>
<button id="analyze-button">Analyze</button>
</div>
<div class="tab-content webcam-tab hidden">
<h3>Webcam Capture</h3>
<video id="webcam-video" autoplay playsinline></video>
<button id="capture-webcam-button">Explain Image</button>
</div>
<div class="tab-content draw-tab hidden">
<h3>Draw on Canvas</h3>
<canvas id="draw-canvas"></canvas>
<div class="draw-controls">
<button id="clear-draw-button">Clear Drawing</button>
<label for="draw-color">Color:</label>
<input type="color" id="draw-color" value="#000000">
<label for="draw-size">Size:</label>
<input type="range" id="draw-size" min="1" max="10" value="2">
<button id="discuss-button">Discuss</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- --------------------Digital Human Mentor Video Content Ends----------------- -->
<!-- --------------------Coder Content Starts------------------------------------- -->
<div id="coder" class="content-section hidden">
<div class="card coder-card">
<!-- Wrapper for Top Options -->
<div class="coder-options">
<!-- Model Selection Section -->
<div id="coder-model-selection-container" class="option-section">
<label for="coder-model-selection">Select Model:</label>
<div class="option-control-group">
<select id="coder-model-selection"></select>
<button id="coder-download" disabled>Initialize Model</button>
</div>
</div>
<!-- Voice Selection Section -->
<div id="coder-tool-selection-container" class="option-section">
<label for="coder-tools">Select Voice:</label>
<select id="coder-tools"></select>
</div>
<!-- Speech Controls Section -->
<div id="coder-speech-controls" class="option-section">
<label for="coder-speech-rate">Speech Rate:</label>
<input type="range" id="coder-speech-rate" min="0.5" max="2" step="0.1" value="1" disabled>
<label for="coder-speech-pitch">Speech Pitch:</label>
<input type="range" id="coder-speech-pitch" min="0" max="2" step="0.1" value="1" disabled>
</div>
<!-- Logs Section -->
<div id="coder-logs-container" class="option-section">
<h3>Logs</h3>
<div id="coder-logs">
<!-- Logs will appear here -->
</div>
<button id="coder-clear-logs">Clear Logs</button>
</div>
</div>
<!-- End of Top Options Wrapper -->
<!-- Wrapper for Chat and Python Interpreter -->
<div class="coder-main" style="display: flex; flex-direction: row; gap: 20px;">
<!-- Chat Window Section -->
<div class="chat-window" style="flex: 2;">
<!-- Chat Box Section -->
<div id="coder-chat-container">
<div id="coder-chat-box">
<!-- Chat messages will appear here -->
</div>
<!-- Chat Stats -->
<div id="coder-chat-stats" class="hidden">Runtime Stats: N/A</div>
<!-- Chat Input Section -->
<div id="coder-text-input-container">
<input type="text" id="coder-text-input" placeholder="Type your message here..." disabled>
<button id="coder-submit-button" disabled>Send</button>
</div>
<!-- Microphone Controls -->
<div id="coder-mic-container">
<button id="coder-start_button" aria-label="Start Voice Input" disabled>
<!-- Mic Icon SVG -->
<svg class="mic-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 14a3 3 0 003-3V5a3 3 0 00-6 0v6a3 3 0 003 3zm5-3a5 5 0 01-10 0H5a7 7 0 0014 0h-2z"/>
</svg>
</button>
<button id="coder-stop_button" aria-label="Stop Speech" disabled>
<!-- Stop Icon SVG -->
<svg class="stop-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<rect x="6" y="6" width="12" height="12" rx="2" ry="2"></rect>
</svg>
</button>
</div>
</div>
<!-- Loading Spinner -->
<div id="coder-loading-spinner" class="hidden">
<div class="spinner"></div>
</div>
<!-- Configuration Info -->
<div id="coder-configuration" class="hidden">
<p>Model Initialized: <span id="coder-selected-model">N/A</span></p>
</div>
</div>
<!-- End of Chat Window Section -->
<!-- Python Interpreter Section -->
<div id="coder-python-container" style="flex: 1; display: flex; flex-direction: column; gap: 10px;">
<iframe src="https://pyodide.org/en/stable/console.html" style="flex: 1; border: none; border-radius: var(--border-radius);"></iframe>
</div>
<!-- End of Python Interpreter Section -->
</div>
<!-- End of Wrapper for Chat and Python Interpreter -->
<!-- Loading Spinner and Configuration Info (if any additional) can remain as is -->
</div>
</div>
<!-- --------------------Coder Content Ends---------------------------------------- -->
<!-- --------------------Math Content Starts--------------------------------------- -->
<div id="advanced-math" class="content-section hidden">
<div class="card advanced-math-card">
<!-- Top Controls -->
<div class="math-options">
<!-- Model Selection Section -->
<div id="math-model-selection-container" class="option-section">
<label for="math-model-selection">Select Math Model:</label>
<select id="math-model-selection"></select>
<button id="math-download" disabled>Initialize Model</button>
</div>
<!-- Tool Selection Section -->
<div id="math-tool-selection-container" class="option-section">
<label for="math-tools">Select Voice:</label>
<select id="math-tools"></select>
</div>
<!-- Speech Controls Section -->
<div id="math-speech-controls" class="option-section">
<label for="math-speech-rate">Speech Rate:</label>
<input type="range" id="math-speech-rate" min="0.5" max="2" step="0.1" value="1" disabled>
<label for="math-speech-pitch">Speech Pitch:</label>
<input type="range" id="math-speech-pitch" min="0" max="2" step="0.1" value="1" disabled>
</div>
<!-- Logs Section -->
<div id="math-logs-container" class="option-section">
<h3>Logs</h3>
<div id="math-logs">
<!-- Logs will appear here -->
</div>
<button id="math-clear-logs">Clear Logs</button>
</div>
</div>
<!-- Chat Window Section -->
<div class="chat-window">
<!-- Chat Box Section -->
<div id="math-chat-container">
<div id="math-chat-box">
<!-- Chat messages will appear here -->
</div>
<!-- Chat Stats -->
<div id="math-chat-stats" class="hidden">Runtime Stats: N/A</div>
<!-- Chat Input Section -->
<div id="math-text-input-container">
<input type="text" id="math-text-input" placeholder="Type your math problem here..." disabled>
<button id="math-submit-button" disabled>Submit</button>
</div>
<!-- Microphone Controls -->
<div id="math-mic-container">
<button id="math-start_button" aria-label="Start Voice Input" disabled>
<!-- Mic Icon SVG -->
<svg class="mic-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 14a3 3 0 003-3V5a3 3 0 00-6 0v6a3 3 0 003 3zm5-3a5 5 0 01-10 0H5a7 7 0 0014 0h-2z"/>
</svg>
</button>
<button id="math-stop_button" aria-label="Stop Speech" disabled>
<!-- Stop Icon SVG -->
<svg class="stop-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<rect x="6" y="6" width="12" height="12" rx="2" ry="2"></rect>
</svg>
</button>
</div>
</div>
<!-- Loading Spinner -->
<div id="math-loading-spinner" class="hidden">
<div class="spinner"></div>
</div>
<!-- Configuration Info -->
<div id="math-configuration" class="hidden">
<p>Model Initialized: <span id="math-selected-model">N/A</span></p>
</div>
</div>
</div>
</div>
<!-- --------------------Math Content Ends----------------------------------------------- -->
<!-- --------------------Interdisciplinary Content Starts-------------------------------- -->
<div id="interdisciplinary" class="content-section hidden">
<div class="card interdisciplinary-card">
<!-- Interdisciplinary Studies Assistant Layout -->
<div class="inter-options">
<!-- Model Selection Section -->
<div id="inter-model-selection-container" class="option-section">
<label for="inter-model-selection">Select Model:</label>
<select id="inter-model-selection"></select>
<button id="inter-download" disabled>Initialize Model</button>
</div>
<!-- Voice Selection Section -->
<div id="inter-tool-selection-container" class="option-section">
<label for="inter-tools">Select Voice:</label>
<select id="inter-tools"></select>
</div>
<!-- Speech Controls Section -->
<div id="inter-speech-controls" class="option-section">
<label for="speech-rate">Speech Rate:</label>
<input type="range" id="speech-rate" min="0.5" max="2" step="0.1" value="1" disabled>
<label for="speech-pitch">Speech Pitch:</label>
<input type="range" id="speech-pitch" min="0" max="2" step="0.1" value="1" disabled>
</div>
<!-- Logs Section -->
<div id="inter-logs-container" class="option-section">
<h3>Logs</h3>
<div id="inter-logs">
<!-- Logs will appear here -->
</div>
<button id="inter-clear-logs">Clear Logs</button>
</div>
</div>
<div class="chat-window">
<!-- Chat Box Section -->
<div id="inter-chat-container">
<div id="inter-chat-box">
<!-- Chat messages will appear here -->
</div>
<!-- Chat Stats -->
<div id="inter-chat-stats" class="hidden">Runtime Stats: N/A</div>
<!-- Chat Input Section -->
<div id="inter-text-input-container">
<input type="text" id="inter-text-input" placeholder="Type your message here..." disabled>
<button id="inter-submit-button" disabled>Send</button>
</div>
<!-- Microphone Controls -->
<div id="inter-mic-container">
<button id="inter-start_button" aria-label="Start Voice Input" disabled>
<!-- Mic Icon SVG -->
<svg class="mic-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 14a3 3 0 003-3V5a3 3 0 00-6 0v6a3 3 0 003 3zm5-3a5 5 0 01-10 0H5a7 7 0 0014 0h-2z"/>
</svg>
</button>
<button id="inter-stop_button" aria-label="Stop Speech" disabled>
<!-- Stop Icon SVG -->
<svg class="stop-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<rect x="6" y="6" width="12" height="12" rx="2" ry="2"></rect>
</svg>
</button>
</div>
</div>
<!-- Loading Spinner -->
<div id="loading-spinner" class="hidden">
<div class="spinner"></div>
</div>
<!-- Configuration Info -->
<div id="inter-configuration" class="hidden">
<p>Model Initialized: <span id="inter-selected-model">N/A</span></p>
</div>
</div>
</div>
</div>
<!-- --------------------Interdisciplinary Content Ends------------------------------------- -->
<!-- --------------------Insights Content Starts------------------------------------------- -->
<div id="insights" class="content-section hidden">
<div class="card">
<h2>Insights</h2>
<!-- New: Insights Tabs -->
<div class="insights-tabs">
<button class="insights-tab-button active" data-insights-tab="pdf">Insights PDF</button>
<button class="insights-tab-button" data-insights-tab="images">Insights Images</button>
<button class="insights-tab-button" data-insights-tab="translator">Translator</button>
<button class="insights-tab-button" data-insights-tab="youtube">Youtube Summarizer</button>
</div>
<!-- New: Insights Tab Contents -->
<div class="insights-tab-content">
<!-- Insights PDF Content -->
<div id="pdf" class="insights-content active">
<iframe
src="https://cin-model-kotaemon-demo.hf.space/"
width="100%"
height="600px"
style="border: none; border-radius: 12px;"
title="Insights PDF"
></iframe>
</div>
<!-- Insights Images Content -->
<div id="images" class="insights-content hidden">
<p>Content for Insights Images will go here.</p>
</div>
<!-- Translator Content -->
<div id="translator" class="insights-content hidden">
<p>Content for Translator will go here.</p>
</div>
<!-- Youtube Summarizer Content -->
<div id="youtube" class="insights-content hidden">
<p>Content for Youtube Summarizer will go here.</p>
</div>
</div>
</div>
</div>
<!-- --------------------Insights Content Ends------------------------------------------- -->
<!-- --------------------Podcast Content Starts------------------------------------------- -->
<div id="podcast" class="content-section hidden">
<div class="card">
<h2>Podcast</h2>
<!-- New: Podcast Tabs -->
<div class="podcast-tabs">
<button class="podcast-tab-button active" data-podcast-tab="document-podcast">Document Podcast</button>
<button class="podcast-tab-button" data-podcast-tab="conversational-podcast">Conversational Podcast</button>
</div>
<!-- New: Podcast Tab Contents -->
<div class="podcast-tab-content">
<!-- Document Podcast Content -->
<div id="document-podcast" class="podcast-content active">
<iframe src="https://gabrielchua-open-notebooklm.hf.space/"
width="100%"
height="600px"
style="border: none; border-radius: 12px;"
title="Document Podcast">
</iframe>
</div>
<!-- Conversational Podcast Content -->
<div id="conversational-podcast" class="podcast-content hidden">
<p>Content for Conversational Podcast will go here.</p>
</div>
</div>
<!-- End of Podcast Tab Contents -->
</div>
</div>
<!-- --------------------Podcast Content Ends--------------------------------------------- -->
<!-- --------------------3d-explorer Content Starts------------------------------------------- -->
<div id="3d-explorer" class="content-section hidden">
<div class="card">
<h2>3D Explorer</h2>
<p>Content for 3D Explorer will go here.</p>
</div>
</div>
<!-- --------------------3d-explorer Content Ends--------------------------------------------- -->
<div id="knowledge-base" class="content-section hidden">
<div class="card">
<h2>Knowledge Base</h2>
<p>Content for Knowledge Base will go here, Treasured Teachings, Vintage Papers, Digital Dustbin.</p>
</div>
</div>
<div id="digital-twin" class="content-section hidden">
<div class="card">
<h2>Digital Twin</h2>
<p>Persona, Memory, Social Graph, Class Notes, Homework, Tracker.</p>
</div>
</div>
</div>
</div>
<!-- Include Axios from CDN -->
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<!-- Include the necessary scripts -->
<script type="module">
// Sidebar navigation
const sidebarLinks = document.querySelectorAll('.sidebar a');
const contentSections = document.querySelectorAll('.content-section');
sidebarLinks.forEach(link => {
link.addEventListener('click', (e) => {
e.preventDefault();
// Remove active class from all links
sidebarLinks.forEach(l => l.classList.remove('active'));
// Add active class to the clicked link
link.classList.add('active');
// Hide all content sections
contentSections.forEach(section => section.classList.add('hidden'));
// Show the selected content section
const target = link.getAttribute('data-content');
document.getElementById(target).classList.remove('hidden');
});
});
</script>
<!-- Include the necessary scripts -->
<!-- Include Pyodide Script -->
<script type="module" src="digital.human.audio.js"> </script>
<script type="module" src="digital.human.video.js"> </script>
<script type="module" src="coder.js"> </script>
<script type="module" src="advanced.math.js"></script>
<script type="module" src="interdisciplinary.js"></script> <!-- New JS for Interdisciplinary -->
<script type="module" src="insights.js"></script>
</body>
</html>
|