AIRider commited on
Commit
aff0317
·
verified ·
1 Parent(s): 76489a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,9 +119,9 @@ def display_script(title, script):
119
  formatted_script = "\n\n".join(script_sentences)
120
  return f"""<div style="background-color: #f0f0f0; padding: 20px; border-radius: 10px;">
121
  <h3>원문 스크립트</h3>
122
- <h2>{title}</h2>
123
  <details>
124
  <summary>클릭하여 펼치기</summary>
 
125
  <pre style="white-space: pre-wrap;">{formatted_script}</pre>
126
  </details>
127
  </div>"""
@@ -130,7 +130,7 @@ def display_summary(title, summary):
130
  return f"""<div style="background-color: #e6f3ff; padding: 20px; border-radius: 10px; margin-top: 20px;">
131
  <h3>요약</h3>
132
  <h2>{title}</h2>
133
- {summary}
134
  </div>"""
135
 
136
  def analyze(url):
 
119
  formatted_script = "\n\n".join(script_sentences)
120
  return f"""<div style="background-color: #f0f0f0; padding: 20px; border-radius: 10px;">
121
  <h3>원문 스크립트</h3>
 
122
  <details>
123
  <summary>클릭하여 펼치기</summary>
124
+ <h2>{title}</h2>
125
  <pre style="white-space: pre-wrap;">{formatted_script}</pre>
126
  </details>
127
  </div>"""
 
130
  return f"""<div style="background-color: #e6f3ff; padding: 20px; border-radius: 10px; margin-top: 20px;">
131
  <h3>요약</h3>
132
  <h2>{title}</h2>
133
+ <p>{summary}</p>
134
  </div>"""
135
 
136
  def analyze(url):