openfree commited on
Commit
598b963
ยท
verified ยท
1 Parent(s): 2bbffa0

Create podcast_config.py

Browse files
Files changed (1) hide show
  1. podcast_config.py +259 -0
podcast_config.py ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # podcast_config.py - ์„ค์ • ๋ฐ ๋ฐ์ดํ„ฐ ๋ถ„๋ฆฌ
2
+ from dataclasses import dataclass
3
+ from typing import List, Dict
4
+
5
+ @dataclass
6
+ class ConversationConfig:
7
+ max_words: int = 8000
8
+ prefix_url: str = "https://r.jina.ai/"
9
+ api_model_name: str = "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"
10
+ legacy_local_model_name: str = "NousResearch/Hermes-2-Pro-Llama-3-8B"
11
+ local_model_name: str = "Private-BitSix-Mistral-Small-3.1-24B-Instruct-2503.gguf"
12
+ local_model_repo: str = "ginigen/Private-BitSix-Mistral-Small-3.1-24B-Instruct-2503"
13
+ max_tokens: int = 6000
14
+ max_new_tokens: int = 12000
15
+ min_conversation_turns: int = 18
16
+ max_conversation_turns: int = 20
17
+
18
+ # Edge TTS ์ „์šฉ ์–ธ์–ด ๋ชฉ๋ก
19
+ EDGE_TTS_ONLY_LANGUAGES = [
20
+ "Korean", "Japanese", "French", "German", "Spanish", "Italian",
21
+ "Portuguese", "Dutch", "Thai", "Vietnamese", "Arabic", "Hebrew",
22
+ "Indonesian", "Hindi", "Russian", "Chinese", "Norwegian", "Swedish",
23
+ "Finnish", "Danish", "Polish", "Turkish", "Greek", "Czech"
24
+ ]
25
+
26
+ # ์ „์ฒด ์ง€์› ์–ธ์–ด ๋ชฉ๋ก
27
+ SUPPORTED_LANGUAGES = [
28
+ "English", "Korean", "Japanese", "French", "German",
29
+ "Spanish", "Italian", "Portuguese", "Dutch", "Thai",
30
+ "Vietnamese", "Arabic", "Hebrew", "Indonesian", "Hindi",
31
+ "Russian", "Chinese", "Norwegian", "Swedish", "Finnish",
32
+ "Danish", "Polish", "Turkish", "Greek", "Czech"
33
+ ]
34
+
35
+ # ์–ธ์–ด๋ณ„ Edge TTS ์Œ์„ฑ ์„ค์ •
36
+ EDGE_TTS_VOICES = {
37
+ "English": [
38
+ "en-US-AndrewMultilingualNeural",
39
+ "en-US-BrianMultilingualNeural"
40
+ ],
41
+ "Korean": [
42
+ "ko-KR-HyunsuNeural",
43
+ "ko-KR-InJoonNeural"
44
+ ],
45
+ "Japanese": [
46
+ "ja-JP-KeitaNeural",
47
+ "ja-JP-NanamiNeural"
48
+ ],
49
+ "French": [
50
+ "fr-FR-HenriNeural",
51
+ "fr-FR-DeniseNeural"
52
+ ],
53
+ "German": [
54
+ "de-DE-ConradNeural",
55
+ "de-DE-KillianNeural"
56
+ ],
57
+ "Spanish": [
58
+ "es-ES-AlvaroNeural",
59
+ "es-ES-ElviraNeural"
60
+ ],
61
+ "Italian": [
62
+ "it-IT-DiegoNeural",
63
+ "it-IT-IsabellaNeural"
64
+ ],
65
+ "Portuguese": [
66
+ "pt-BR-AntonioNeural",
67
+ "pt-BR-FranciscaNeural"
68
+ ],
69
+ "Dutch": [
70
+ "nl-NL-MaartenNeural",
71
+ "nl-NL-ColetteNeural"
72
+ ],
73
+ "Thai": [
74
+ "th-TH-NiwatNeural",
75
+ "th-TH-PremwadeeNeural"
76
+ ],
77
+ "Vietnamese": [
78
+ "vi-VN-NamMinhNeural",
79
+ "vi-VN-HoaiMyNeural"
80
+ ],
81
+ "Arabic": [
82
+ "ar-SA-HamedNeural",
83
+ "ar-SA-ZariyahNeural"
84
+ ],
85
+ "Hebrew": [
86
+ "he-IL-AvriNeural",
87
+ "he-IL-HilaNeural"
88
+ ],
89
+ "Indonesian": [
90
+ "id-ID-ArdiNeural",
91
+ "id-ID-GadisNeural"
92
+ ],
93
+ "Hindi": [
94
+ "hi-IN-MadhurNeural",
95
+ "hi-IN-SwaraNeural"
96
+ ],
97
+ "Russian": [
98
+ "ru-RU-DmitryNeural",
99
+ "ru-RU-SvetlanaNeural"
100
+ ],
101
+ "Chinese": [
102
+ "zh-CN-YunxiNeural",
103
+ "zh-CN-XiaoxiaoNeural"
104
+ ],
105
+ "Norwegian": [
106
+ "nb-NO-FinnNeural",
107
+ "nb-NO-PernilleNeural"
108
+ ],
109
+ "Swedish": [
110
+ "sv-SE-MattiasNeural",
111
+ "sv-SE-SofieNeural"
112
+ ],
113
+ "Finnish": [
114
+ "fi-FI-HarriNeural",
115
+ "fi-FI-NooraNeural"
116
+ ],
117
+ "Danish": [
118
+ "da-DK-JeppeNeural",
119
+ "da-DK-ChristelNeural"
120
+ ],
121
+ "Polish": [
122
+ "pl-PL-MarekNeural",
123
+ "pl-PL-ZofiaNeural"
124
+ ],
125
+ "Turkish": [
126
+ "tr-TR-AhmetNeural",
127
+ "tr-TR-EmelNeural"
128
+ ],
129
+ "Greek": [
130
+ "el-GR-NestorasNeural",
131
+ "el-GR-AthinaNeural"
132
+ ],
133
+ "Czech": [
134
+ "cs-CZ-AntoninNeural",
135
+ "cs-CZ-VlastaNeural"
136
+ ]
137
+ }
138
+
139
+ # ์–ธ์–ด๋ณ„ ํ™”์ž ์ด๋ฆ„ ์„ค์ •
140
+ LANGUAGE_SPEAKERS = {
141
+ "Korean": ("์ค€์ˆ˜", "๋ฏผํ˜ธ"),
142
+ "Japanese": ("Hiroshi", "Takeshi"),
143
+ "French": ("Pierre", "Marc"),
144
+ "German": ("Klaus", "Stefan"),
145
+ "Spanish": ("Carlos", "Miguel"),
146
+ "Italian": ("Marco", "Giuseppe"),
147
+ "Portuguese": ("Joรฃo", "Pedro"),
148
+ "Dutch": ("Jan", "Pieter"),
149
+ "Thai": ("Somchai", "Prasert"),
150
+ "Vietnamese": ("Minh", "Duc"),
151
+ "Arabic": ("Ahmed", "Mohammed"),
152
+ "Hebrew": ("David", "Michael"),
153
+ "Indonesian": ("Budi", "Andi"),
154
+ "Hindi": ("Raj", "Amit"),
155
+ "Russian": ("Alexei", "Dmitri"),
156
+ "Chinese": ("Wei", "Jun"),
157
+ "Norwegian": ("Lars", "Astrid"),
158
+ "Swedish": ("Erik", "Anna"),
159
+ "Finnish": ("Matti", "Liisa"),
160
+ "Danish": ("Niels", "Sofie"),
161
+ "Polish": ("Piotr", "Anna"),
162
+ "Turkish": ("Mehmet", "Ayse"),
163
+ "Greek": ("Nikos", "Maria"),
164
+ "Czech": ("Pavel", "Jana"),
165
+ "English": ("Alex", "Jordan") # Default
166
+ }
167
+
168
+ # ๊ธฐ๋ณธ ๋Œ€ํ™” ํ…œํ”Œ๋ฆฟ๋“ค
169
+ DEFAULT_CONVERSATIONS = {
170
+ "Korean": {
171
+ "conversation": [
172
+ {"speaker": "์ค€์ˆ˜", "text": "์•ˆ๋…•ํ•˜์„ธ์š”, ์—ฌ๋Ÿฌ๋ถ„! ์˜ค๋Š˜์€ ์ •๋ง ์ค‘์š”ํ•˜๊ณ  ํฅ๋ฏธ๋กœ์šด ์ฃผ์ œ๋ฅผ ๋‹ค๋ค„๋ณด๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ๋ฏผํ˜ธ ๋ฐ•์‚ฌ๋‹˜, ๋จผ์ € ์ด ์ฃผ์ œ๊ฐ€ ์™œ ์ง€๊ธˆ ์ด๋ ‡๊ฒŒ ์ฃผ๋ชฉ๋ฐ›๊ณ  ์žˆ๋Š”์ง€ ์„ค๋ช…ํ•ด์ฃผ์‹œ๊ฒ ์–ด์š”?"},
173
+ {"speaker": "๋ฏผํ˜ธ", "text": "๋„ค, ์•ˆ๋…•ํ•˜์„ธ์š”. ์ตœ๊ทผ ์ด ๋ถ„์•ผ์—์„œ ํš๊ธฐ์ ์ธ ๋ฐœ์ „์ด ๏ฟฝ๏ฟฝ๏ฟฝ์—ˆ์Šต๋‹ˆ๋‹ค. ํŠนํžˆ ์ž‘๋…„ MIT ์—ฐ๊ตฌํŒ€์˜ ๋ฐœํ‘œ์— ๋”ฐ๋ฅด๋ฉด, ์ด ๊ธฐ์ˆ ์˜ ํšจ์œจ์„ฑ์ด ๊ธฐ์กด ๋Œ€๋น„ 300% ํ–ฅ์ƒ๋˜์—ˆ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ์ด๋Š” ๋‹จ์ˆœํ•œ ๊ธฐ์ˆ ์  ์ง„๋ณด๋ฅผ ๋„˜์–ด์„œ ์šฐ๋ฆฌ ์ผ์ƒ์ƒํ™œ์— ์ง์ ‘์ ์ธ ์˜ํ–ฅ์„ ๋ฏธ์น  ์ˆ˜ ์žˆ๋Š” ๋ณ€ํ™”์ธ๋ฐ์š”. ์‹ค์ œ๋กœ ๊ตฌ๊ธ€๊ณผ ๋งˆ์ดํฌ๋กœ์†Œํ”„ํŠธ ๊ฐ™์€ ๋น…ํ…Œํฌ ๊ธฐ์—…๋“ค์ด ์ด๋ฏธ ์ˆ˜์‹ญ์–ต ๋‹ฌ๋Ÿฌ๋ฅผ ํˆฌ์žํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค."},
174
+ {"speaker": "์ค€์ˆ˜", "text": "์™€, 300% ํ–ฅ์ƒ์ด๋ผ๋‹ˆ ์ •๋ง ๋†€๋ผ์šด๋ฐ์š”. ๊ทธ๋ ‡๋‹ค๋ฉด ์ด๋Ÿฐ ๊ธฐ์ˆ  ๋ฐœ์ „์ด ์ผ๋ฐ˜์ธ๋“ค์—๊ฒŒ๋Š” ๊ตฌ์ฒด์ ์œผ๋กœ ์–ด๋–ค ํ˜œํƒ์„ ๊ฐ€์ ธ๋‹ค์ค„ ์ˆ˜ ์žˆ์„๊นŒ์š”?"},
175
+ {"speaker": "๋ฏผํ˜ธ", "text": "๊ฐ€์žฅ ์ง์ ‘์ ์ธ ํ˜œํƒ์€ ๋น„์šฉ ์ ˆ๊ฐ๊ณผ ์ ‘๊ทผ์„ฑ ํ–ฅ์ƒ์ž…๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ์ด์ „์—๋Š” ์ „๋ฌธ๊ฐ€๋งŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋˜ ๊ณ ๊ธ‰ ๊ธฐ๋Šฅ๋“ค์ด ์ด์ œ๋Š” ์Šค๋งˆํŠธํฐ ์•ฑ์œผ๋กœ๋„ ๊ตฌํ˜„ ๊ฐ€๋Šฅํ•ด์กŒ์Šต๋‹ˆ๋‹ค. ๋งฅํ‚จ์ง€ ๋ณด๊ณ ์„œ์— ๋”ฐ๋ฅด๋ฉด, 2025๋…„๊นŒ์ง€ ์ด ๊ธฐ์ˆ ๋กœ ์ธํ•ด ์ „ ์„ธ๊ณ„์ ์œผ๋กœ ์•ฝ 2์กฐ ๋‹ฌ๋Ÿฌ์˜ ๊ฒฝ์ œ์  ๊ฐ€์น˜๊ฐ€ ์ฐฝ์ถœ๋  ๊ฒƒ์œผ๋กœ ์˜ˆ์ƒ๋ฉ๋‹ˆ๋‹ค."},
176
+ {"speaker": "์ค€์ˆ˜", "text": "2์กฐ ๋‹ฌ๋Ÿฌ๋ผ๋Š” ์—„์ฒญ๋‚œ ๊ทœ๋ชจ๋„ค์š”. ์˜๋ฃŒ ๋ถ„์•ผ์—์„œ๋Š” ์–ด๋–ค ๋ณ€ํ™”๊ฐ€ ์˜ˆ์ƒ๋˜๋‚˜์š”?"},
177
+ {"speaker": "๋ฏผํ˜ธ", "text": "์˜๋ฃŒ ๋ถ„์•ผ์˜ ๋ณ€ํ™”๋Š” ์ •๋ง ํ˜๋ช…์ ์ผ ๊ฒƒ์œผ๋กœ ์˜ˆ์ƒ๋ฉ๋‹ˆ๋‹ค. ์ด๋ฏธ ์Šคํƒ ํฌ๋“œ ๋Œ€ํ•™๋ณ‘์›์—์„œ๋Š” ์ด ๊ธฐ์ˆ ์„ ํ™œ์šฉํ•ด ์•” ์ง„๋‹จ ์ •ํ™•๋„๋ฅผ 95%๊นŒ์ง€ ๋†’์˜€์Šต๋‹ˆ๋‹ค. ๊ธฐ์กด์—๋Š” ์ˆ™๋ จ๋œ ์˜์‚ฌ๋„ ๋†“์น  ์ˆ˜ ์žˆ๋˜ ๋ฏธ์„ธํ•œ ๋ณ‘๋ณ€๋“ค์„ AI๊ฐ€ ๊ฐ์ง€ํ•ด๋‚ด๋Š” ๊ฒƒ์ด์ฃ . WHO ์ถ”์‚ฐ์œผ๋กœ๋Š” ์ด ๊ธฐ์ˆ ์ด ์ „ ์„ธ๊ณ„์ ์œผ๋กœ ๋ณด๊ธ‰๋˜๋ฉด ์—ฐ๊ฐ„ ์ˆ˜๋ฐฑ๋งŒ ๋ช…์˜ ์ƒ๋ช…์„ ๊ตฌํ•  ์ˆ˜ ์žˆ์„ ๊ฒƒ์œผ๋กœ ์˜ˆ์ธกํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค."},
178
+ {"speaker": "์ค€์ˆ˜", "text": "์ •๋ง ์ธ์ƒ์ ์ด๋„ค์š”. ํ•˜์ง€๋งŒ ์ด๋Ÿฐ ๊ธ‰๊ฒฉํ•œ ๊ธฐ์ˆ  ๋ฐœ์ „์— ๋Œ€ํ•œ ์šฐ๋ ค์˜ ๋ชฉ์†Œ๋ฆฌ๋„ ์žˆ์„ ๊ฒƒ ๊ฐ™์€๋ฐ์š”?"},
179
+ {"speaker": "๋ฏผํ˜ธ", "text": "๋งž์Šต๋‹ˆ๋‹ค. ์ฃผ์š” ์šฐ๋ ค์‚ฌํ•ญ์€ ํฌ๊ฒŒ ์„ธ ๊ฐ€์ง€์ž…๋‹ˆ๋‹ค. ์ฒซ์งธ๋Š” ์ผ์ž๋ฆฌ ๋Œ€์ฒด ๋ฌธ์ œ๋กœ, ์˜ฅ์Šคํฌ๋“œ ๋Œ€ํ•™ ์—ฐ๊ตฌ์— ๋”ฐ๋ฅด๋ฉด ํ–ฅํ›„ 20๋…„ ๋‚ด์— ํ˜„์žฌ ์ง์—…์˜ 47%๊ฐ€ ์ž๋™ํ™”๋  ์œ„ํ—˜์ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋‘˜์งธ๋Š” ํ”„๋ผ์ด๋ฒ„์‹œ์™€ ๋ณด์•ˆ ๋ฌธ์ œ์ž…๋‹ˆ๋‹ค. ์…‹์งธ๋Š” ๊ธฐ์ˆ  ๊ฒฉ์ฐจ๋กœ ์ธํ•œ ๋ถˆํ‰๋“ฑ ์‹ฌํ™”์ž…๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ์—ญ์‚ฌ์ ์œผ๋กœ ๋ณด๋ฉด ์ƒˆ๋กœ์šด ๊ธฐ์ˆ ์€ ํ•ญ์ƒ ์ƒˆ๋กœ์šด ๊ธฐํšŒ๋„ ํ•จ๊ป˜ ๋งŒ๋“ค์–ด์™”์Šต๋‹ˆ๋‹ค."},
180
+ {"speaker": "์ค€์ˆ˜", "text": "๊ท ํ˜•์žกํžŒ ์‹œ๊ฐ์ด ์ค‘์š”ํ•˜๊ฒ ๋„ค์š”. ๊ทธ๋ ‡๋‹ค๋ฉด ์šฐ๋ฆฌ๊ฐ€ ์ด๋Ÿฐ ๋ณ€ํ™”์— ์–ด๋–ป๊ฒŒ ๋Œ€๋น„ํ•ด์•ผ ํ• ๊นŒ์š”?"},
181
+ {"speaker": "๋ฏผํ˜ธ", "text": "๊ฐ€์žฅ ์ค‘์š”ํ•œ ๊ฒƒ์€ ์ง€์†์ ์ธ ํ•™์Šต๊ณผ ์ ์‘๋ ฅ์ž…๋‹ˆ๋‹ค. ์„ธ๊ณ„๊ฒฝ์ œํฌ๋Ÿผ์€ 2025๋…„๊นŒ์ง€ ์ „ ์„ธ๊ณ„ ๊ทผ๋กœ์ž์˜ 50%๊ฐ€ ์žฌ๊ต์œก์ด ํ•„์š”ํ•  ๊ฒƒ์œผ๋กœ ์˜ˆ์ธกํ–ˆ์Šต๋‹ˆ๋‹ค. ํŠนํžˆ ๋””์ง€ํ„ธ ๋ฆฌํ„ฐ๋Ÿฌ์‹œ, ๋น„ํŒ์  ์‚ฌ๊ณ ๋ ฅ, ์ฐฝ์˜์„ฑ ๊ฐ™์€ ๋Šฅ๋ ฅ์ด ์ค‘์š”ํ•ด์งˆ ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๊ฐœ์ธ์ ์œผ๋กœ๋Š” ์˜จ๋ผ์ธ ๊ต์œก ํ”Œ๋žซํผ์„ ํ™œ์šฉํ•œ ์ž๊ธฐ๊ณ„๋ฐœ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค."},
182
+ {"speaker": "์ค€์ˆ˜", "text": "์‹ค์šฉ์ ์ธ ์กฐ์–ธ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋งˆ์ง€๋ง‰์œผ๋กœ ์ด ๋ถ„์•ผ์˜ ๋ฏธ๋ž˜ ์ „๋ง์€ ์–ด๋–ป๊ฒŒ ๋ณด์‹œ๋‚˜์š”?"},
183
+ {"speaker": "๋ฏผํ˜ธ", "text": "ํ–ฅํ›„ 10๋…„์€ ์ธ๋ฅ˜ ์—ญ์‚ฌ์ƒ ๊ฐ€์žฅ ๊ธ‰๊ฒฉํ•œ ๊ธฐ์ˆ  ๋ฐœ์ „์„ ๊ฒฝํ—˜ํ•˜๋Š” ์‹œ๊ธฐ๊ฐ€ ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๊ฐ€ํŠธ๋„ˆ์˜ ํ•˜์ดํ”„ ์‚ฌ์ดํด ๋ถ„์„์— ๋”ฐ๋ฅด๋ฉด, ํ˜„์žฌ ์šฐ๋ฆฌ๋Š” ์ด ๊ธฐ์ˆ ์˜ ์ดˆ๊ธฐ ๋‹จ๊ณ„์— ๋ถˆ๊ณผํ•ฉ๋‹ˆ๋‹ค. 2030๋…„๊นŒ์ง€๋Š” ์ง€๊ธˆ์œผ๋กœ์„œ๋Š” ์ƒ์ƒํ•˜๊ธฐ ์–ด๋ ค์šด ์ˆ˜์ค€์˜ ํ˜์‹ ์ด ์ผ์–ด๋‚  ๊ฒƒ์œผ๋กœ ์˜ˆ์ƒ๋ฉ๋‹ˆ๋‹ค. ์ค‘์š”ํ•œ ๊ฒƒ์€ ์ด๋Ÿฐ ๋ณ€ํ™”๋ฅผ ๋‘๋ ค์›Œํ•˜๊ธฐ๋ณด๋‹ค๋Š” ๊ธฐํšŒ๋กœ ์‚ผ์•„ ๋” ๋‚˜์€ ๋ฏธ๋ž˜๋ฅผ ๋งŒ๋“ค์–ด๊ฐ€๋Š” ๊ฒƒ์ด๋ผ๊ณ  ์ƒ๊ฐํ•ฉ๋‹ˆ๋‹ค."},
184
+ {"speaker": "์ค€์ˆ˜", "text": "์ •๋ง ํ†ต์ฐฐ๋ ฅ ์žˆ๋Š” ๋ง์”€์ด๋„ค์š”. ์˜ค๋Š˜ ๋„ˆ๋ฌด๋‚˜ ์œ ์ตํ•œ ์‹œ๊ฐ„์ด์—ˆ์Šต๋‹ˆ๋‹ค. ์ฒญ์ทจ์ž ์—ฌ๋Ÿฌ๋ถ„๋„ ์˜ค๋Š˜ ๋…ผ์˜๋œ ๋‚ด์šฉ์„ ๋ฐ”ํƒ•์œผ๋กœ ๋ฏธ๋ž˜๋ฅผ ์ค€๋น„ํ•˜์‹œ๊ธธ ๋ฐ”๋ž๋‹ˆ๋‹ค. ๋ฏผํ˜ธ ๋ฐ•์‚ฌ๋‹˜, ๊ท€์ค‘ํ•œ ์‹œ๊ฐ„ ๋‚ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค!"},
185
+ {"speaker": "๋ฏผํ˜ธ", "text": "๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ์ฒญ์ทจ์ž ์—ฌ๋Ÿฌ๋ถ„๋“ค์ด ์ด ๋ณ€ํ™”์˜ ์‹œ๋Œ€๋ฅผ ํ˜„๋ช…ํ•˜๊ฒŒ ํ—ค์ณ๋‚˜๊ฐ€์‹œ๊ธธ ๋ฐ”๋ž๋‹ˆ๋‹ค. ๊ธฐ์ˆ ์€ ๋„๊ตฌ์ผ ๋ฟ์ด๊ณ , ๊ทธ๊ฒƒ์„ ์–ด๋–ป๊ฒŒ ํ™œ์šฉํ•˜๋Š”์ง€๋Š” ์šฐ๋ฆฌ์—๊ฒŒ ๋‹ฌ๋ ค์žˆ๋‹ค๋Š” ์ ์„ ๊ธฐ์–ตํ•ด์ฃผ์„ธ์š”."}
186
+ ]
187
+ },
188
+ "English": {
189
+ "conversation": [
190
+ {"speaker": "Alex", "text": "Welcome everyone to our podcast! Today we're diving into a topic that's reshaping our world. Dr. Jordan, could you start by explaining why this subject has become so critical right now?"},
191
+ {"speaker": "Jordan", "text": "Thanks, Alex. We're witnessing an unprecedented convergence of technological breakthroughs. According to a recent Nature publication, advances in this field have accelerated by 400% in just the past two years. This isn't just incremental progress - it's a fundamental shift in how we approach problem-solving. Major institutions like Harvard and Stanford are completely restructuring their research programs to focus on this area."},
192
+ {"speaker": "Alex", "text": "400% acceleration is staggering! What does this mean for everyday people who might not be tech-savvy?"},
193
+ {"speaker": "Jordan", "text": "The impact will be profound yet accessible. Think about how smartphones revolutionized communication - this will be similar but across every aspect of life. McKinsey's latest report projects that by 2026, these technologies will create $4.4 trillion in annual value globally. For individuals, this translates to personalized healthcare that can predict illnesses years in advance."},
194
+ {"speaker": "Alex", "text": "Those applications sound transformative. Can you give us a concrete example of how this is already being implemented?"},
195
+ {"speaker": "Jordan", "text": "Absolutely. Let me share a compelling case from Johns Hopkins Hospital. They've deployed an AI system that analyzes patient data in real-time, reducing diagnostic errors by 85% and cutting average diagnosis time from days to hours. In one documented case, the system identified a rare genetic disorder in a child that had been misdiagnosed for three years."},
196
+ {"speaker": "Alex", "text": "That's truly life-changing technology. But I imagine there are significant challenges and risks we need to consider?"},
197
+ {"speaker": "Jordan", "text": "You're absolutely right to raise this. The challenges are as significant as the opportunities. The World Economic Forum identifies three critical risks: algorithmic bias could perpetuate existing inequalities, cybersecurity threats become exponentially more dangerous, and there's the socioeconomic disruption with PwC estimating that 30% of jobs could be automated by 2030."},
198
+ {"speaker": "Alex", "text": "How should individuals and organizations prepare for these changes?"},
199
+ {"speaker": "Jordan", "text": "Preparation requires a multi-faceted approach. For individuals, I recommend focusing on skills that complement rather than compete with AI: critical thinking, emotional intelligence, and creative problem-solving. MIT's recent study shows that professionals who combine domain expertise with AI literacy see salary increases of 40% on average."},
200
+ {"speaker": "Alex", "text": "That's practical advice. What about the ethical considerations? How do we ensure this technology benefits humanity as a whole?"},
201
+ {"speaker": "Jordan", "text": "Ethics must be at the forefront of development. The EU's AI Act and similar regulations worldwide are establishing important guardrails. We need transparent AI systems where decisions can be explained and audited. Companies like IBM and Google have established AI ethics boards, but we need industry-wide standards."},
202
+ {"speaker": "Alex", "text": "Looking ahead, what's your vision for how this technology will shape the next decade?"},
203
+ {"speaker": "Jordan", "text": "The next decade will be transformative beyond our current imagination. By 2035, I expect we'll see autonomous systems managing entire cities, personalized medicine extending human lifespan by 20-30 years, and educational AI that makes world-class education universally accessible. However, the future isn't predetermined - it's shaped by the choices we make now."},
204
+ {"speaker": "Alex", "text": "Dr. Jordan, this has been an incredibly enlightening discussion. Thank you for sharing your expertise and insights with us today."},
205
+ {"speaker": "Jordan", "text": "Thank you, Alex. For listeners wanting to dive deeper, I've compiled additional resources on my website. Remember, the future isn't something that happens to us - it's something we create together. I look forward to seeing how each of you contributes to shaping this exciting new era."}
206
+ ]
207
+ }
208
+ }
209
+
210
+ # ์–ธ์–ด๋ณ„ ์•ˆ๋‚ด ๋ฉ”์‹œ์ง€
211
+ LANGUAGE_INFO_MESSAGES = {
212
+ "Korean": "ํ•œ๊ตญ์–ด๋Š” Edge-TTS๋งŒ ์ง€์›๋ฉ๋‹ˆ๋‹ค",
213
+ "Japanese": "ๆ—ฅๆœฌ่ชžใฏEdge-TTSใฎใฟใ‚ตใƒใƒผใƒˆใ•ใ‚Œใฆใ„ใพใ™",
214
+ "French": "Le franรงais n'est pris en charge que par Edge-TTS",
215
+ "German": "Deutsch wird nur von Edge-TTS unterstรผtzt",
216
+ "Spanish": "El espaรฑol solo es compatible con Edge-TTS",
217
+ "Italian": "L'italiano รจ supportato solo da Edge-TTS",
218
+ "Portuguese": "O portuguรชs รฉ suportado apenas pelo Edge-TTS",
219
+ "Dutch": "Nederlands wordt alleen ondersteund door Edge-TTS",
220
+ "Thai": "เธ เธฒเธฉเธฒเน„เธ—เธขเธฃเธญเธ‡เธฃเธฑเธšเน€เธ‰เธžเธฒเธฐ Edge-TTS เน€เธ—เนˆเธฒเธ™เธฑเน‰เธ™",
221
+ "Vietnamese": "Tiแบฟng Viแป‡t chแป‰ ฤ‘ฦฐแปฃc hแป— trแปฃ bแปŸi Edge-TTS",
222
+ "Arabic": "ุงู„ุนุฑุจูŠุฉ ู…ุฏุนูˆู…ุฉ ูู‚ุท ู…ู† Edge-TTS",
223
+ "Hebrew": "ืขื‘ืจื™ืช ื ืชืžื›ืช ืจืง ืขืœ ื™ื“ื™ Edge-TTS",
224
+ "Indonesian": "Bahasa Indonesia hanya didukung oleh Edge-TTS",
225
+ "Hindi": "เคนเคฟเค‚เคฆเฅ€ เค•เฅ‡เคตเคฒ Edge-TTS เคฆเฅเคตเคพเคฐเคพ เคธเคฎเคฐเฅเคฅเคฟเคค เคนเฅˆ",
226
+ "Russian": "ะ ัƒััะบะธะน ะฟะพะดะดะตั€ะถะธะฒะฐะตั‚ัั ั‚ะพะปัŒะบะพ Edge-TTS",
227
+ "Chinese": "ไธญๆ–‡ไป…ๆ”ฏๆŒEdge-TTS",
228
+ "Norwegian": "Norsk stรธttes kun av Edge-TTS",
229
+ "Swedish": "Svenska stรถds endast av Edge-TTS",
230
+ "Finnish": "Suomi on tuettu vain Edge-TTS:llรค",
231
+ "Danish": "Dansk understรธttes kun af Edge-TTS",
232
+ "Polish": "Polski jest obsล‚ugiwany tylko przez Edge-TTS",
233
+ "Turkish": "Tรผrkรงe yalnฤฑzca Edge-TTS tarafฤฑndan desteklenir",
234
+ "Greek": "ฮคฮฑ ฮตฮปฮปฮทฮฝฮนฮบฮฌ ฯ…ฯ€ฮฟฯƒฯ„ฮทฯฮฏฮถฮฟฮฝฯ„ฮฑฮน ฮผฯŒฮฝฮฟ ฮฑฯ€ฯŒ ฯ„ฮฟ Edge-TTS",
235
+ "Czech": "ฤŒeลกtina je podporovรกna pouze Edge-TTS"
236
+ }
237
+
238
+ # Gradio ์˜ˆ์ œ๋“ค
239
+ GRADIO_EXAMPLES = [
240
+ ["https://huggingface.co/blog/openfreeai/cycle-navigator", "URL", "Local", "Edge-TTS", "English"],
241
+ ["quantum computing breakthroughs", "Keyword", "Local", "Edge-TTS", "English"],
242
+ ["์ธ๊ณต์ง€๋Šฅ ์œค๋ฆฌ์™€ ๊ทœ์ œ", "Keyword", "Local", "Edge-TTS", "Korean"],
243
+ ["https://huggingface.co/papers/2505.14810", "URL", "Local", "Edge-TTS", "Japanese"],
244
+ ["intelligence artificielle tendances", "Keyword", "Local", "Edge-TTS", "French"],
245
+ ["kรผnstliche intelligenz entwicklung", "Keyword", "Local", "Edge-TTS", "German"],
246
+ ["inteligencia artificial avances", "Keyword", "Local", "Edge-TTS", "Spanish"],
247
+ ]
248
+
249
+ # CSS ์Šคํƒ€์ผ
250
+ GRADIO_CSS = """
251
+ .container {max-width: 1200px; margin: auto; padding: 20px;}
252
+ .header-text {text-align: center; margin-bottom: 30px;}
253
+ .input-group {background: #f7f7f7; padding: 20px; border-radius: 10px; margin-bottom: 20px;}
254
+ .output-group {background: #f0f0f0; padding: 20px; border-radius: 10px;}
255
+ .status-box {background: #e8f4f8; padding: 15px; border-radius: 8px; margin-top: 10px;}
256
+ """
257
+
258
+ # Brave Search API ์„ค์ •
259
+ BRAVE_ENDPOINT = "https://api.search.brave.com/res/v1/web/search"