seawolf2357 commited on
Commit
db999b8
ยท
verified ยท
1 Parent(s): c509d9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -666,12 +666,12 @@ HTML_CONTENT = """<!DOCTYPE html>
666
  </div>
667
 
668
  <div class="tabs-container">
669
- <button class="tab-button active" onclick="switchTab('voice-chat')">์Œ์„ฑ ์ฑ„ํŒ…</button>
670
- <button class="tab-button" onclick="switchTab('mic-whisper')">๋งˆ์ดํฌ ์ „์‚ฌ</button>
671
- <button class="tab-button" onclick="switchTab('audio-whisper')">์˜ค๋””์˜ค ํŒŒ์ผ</button>
672
- <button class="tab-button" onclick="switchTab('video-whisper')">๋น„๋””์˜ค ํŒŒ์ผ</button>
673
- <button class="tab-button" onclick="switchTab('pdf-whisper')">PDF ๋ฒˆ์—ญ</button>
674
- <button class="tab-button" onclick="switchTab('realtime-whisper')">์‹ค์‹œ๊ฐ„ ํ†ต์—ญ</button>
675
  </div>
676
 
677
  <!-- Voice Chat Tab (Original) -->
@@ -860,7 +860,7 @@ HTML_CONTENT = """<!DOCTYPE html>
860
 
861
  <script>
862
  // Tab switching functionality
863
- function switchTab(tabName) {
864
  // Hide all tabs
865
  const tabs = document.querySelectorAll('.tab-content');
866
  tabs.forEach(tab => tab.classList.remove('active'));
 
666
  </div>
667
 
668
  <div class="tabs-container">
669
+ <button class="tab-button active" onclick="switchTab(event, 'voice-chat')">์Œ์„ฑ ์ฑ„ํŒ…</button>
670
+ <button class="tab-button" onclick="switchTab(event, 'mic-whisper')">๋งˆ์ดํฌ ์ „์‚ฌ</button>
671
+ <button class="tab-button" onclick="switchTab(event, 'audio-whisper')">์˜ค๋””์˜ค ํŒŒ์ผ</button>
672
+ <button class="tab-button" onclick="switchTab(event, 'video-whisper')">๋น„๋””์˜ค ํŒŒ์ผ</button>
673
+ <button class="tab-button" onclick="switchTab(event, 'pdf-whisper')">PDF ๋ฒˆ์—ญ</button>
674
+ <button class="tab-button" onclick="switchTab(event, 'realtime-whisper')">์‹ค์‹œ๊ฐ„ ํ†ต์—ญ</button>
675
  </div>
676
 
677
  <!-- Voice Chat Tab (Original) -->
 
860
 
861
  <script>
862
  // Tab switching functionality
863
+ function switchTab(event, tabName) {
864
  // Hide all tabs
865
  const tabs = document.querySelectorAll('.tab-content');
866
  tabs.forEach(tab => tab.classList.remove('active'));