Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -144,7 +144,11 @@ def analyze(url):
|
|
| 144 |
|
| 145 |
# μμ½ μμ±
|
| 146 |
summary = summarize_text(title, description, script)
|
| 147 |
-
summary_content =
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
|
| 149 |
# μ΅μ’
κ²°κ³Ό νμ
|
| 150 |
yield script_content, gr.update(visible=True), summary_content
|
|
|
|
| 144 |
|
| 145 |
# μμ½ μμ±
|
| 146 |
summary = summarize_text(title, description, script)
|
| 147 |
+
summary_content = f"""<div style="background-color: #e6f3ff; padding: 20px; border-radius: 10px; margin-top: 20px;">
|
| 148 |
+
<h3>μμ½</h3>
|
| 149 |
+
<h2>{title}</h2>
|
| 150 |
+
{summary}
|
| 151 |
+
</div>"""
|
| 152 |
|
| 153 |
# μ΅μ’
κ²°κ³Ό νμ
|
| 154 |
yield script_content, gr.update(visible=True), summary_content
|