Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -84,16 +84,17 @@ def display_content(title, script, summary):
|
|
84 |
return f"""
|
85 |
<div style="display: flex; flex-direction: column; gap: 20px;">
|
86 |
<div style="flex: 1;">
|
|
|
87 |
<h3>요약</h3>
|
88 |
<div style="white-space: pre-wrap; background-color: #f0f0f0; padding: 15px; border-radius: 5px;">{summary}</div>
|
89 |
</div>
|
90 |
<div style="flex: 1;">
|
|
|
91 |
<details>
|
92 |
<summary><h3>원문 스크립트 (클릭하여 펼치기)</h3></summary>
|
93 |
<div style="white-space: pre-wrap; background-color: #e0e0e0; padding: 15px; border-radius: 5px;">{script}</div>
|
94 |
</details>
|
95 |
</div>
|
96 |
-
<h2 style='font-size:24px;'>영상 제목: {title}</h2>
|
97 |
</div>
|
98 |
"""
|
99 |
|
|
|
84 |
return f"""
|
85 |
<div style="display: flex; flex-direction: column; gap: 20px;">
|
86 |
<div style="flex: 1;">
|
87 |
+
<h2 style='font-size:24px;'>{title}</h2>
|
88 |
<h3>요약</h3>
|
89 |
<div style="white-space: pre-wrap; background-color: #f0f0f0; padding: 15px; border-radius: 5px;">{summary}</div>
|
90 |
</div>
|
91 |
<div style="flex: 1;">
|
92 |
+
<h2 style='font-size:24px;'>{title}</h2>
|
93 |
<details>
|
94 |
<summary><h3>원문 스크립트 (클릭하여 펼치기)</h3></summary>
|
95 |
<div style="white-space: pre-wrap; background-color: #e0e0e0; padding: 15px; border-radius: 5px;">{script}</div>
|
96 |
</details>
|
97 |
</div>
|
|
|
98 |
</div>
|
99 |
"""
|
100 |
|