loayshabet commited on
Commit
5b18c94
Β·
verified Β·
1 Parent(s): 1051fa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -135,7 +135,7 @@ def summarize_articles(articles):
135
 
136
  if summary:
137
  summaries.append(f"""
138
- ### πŸ“° {title}
139
 
140
  - πŸ“ Category: {category}
141
  - πŸ’‘ Source: {source}
@@ -143,8 +143,7 @@ def summarize_articles(articles):
143
 
144
  πŸ“ƒ Summary:
145
  {summary}
146
-
147
- πŸ”— Read the full article here ({link})
148
 
149
  ---
150
  """)
@@ -184,7 +183,7 @@ def generate_user_summary(name):
184
  demo = gr.Blocks()
185
 
186
  with demo:
187
- gr.Markdown("# πŸ“° Personalized AI News Summarizer")
188
 
189
  with gr.Tab("Set Preferences"):
190
  name_input = gr.Textbox(label="Your Name")
 
135
 
136
  if summary:
137
  summaries.append(f"""
138
+ πŸ“° {title}
139
 
140
  - πŸ“ Category: {category}
141
  - πŸ’‘ Source: {source}
 
143
 
144
  πŸ“ƒ Summary:
145
  {summary}
146
+ πŸ”— Read the full article here ({link})
 
147
 
148
  ---
149
  """)
 
183
  demo = gr.Blocks()
184
 
185
  with demo:
186
+ gr.Markdown("πŸ“° AI News Summarizer")
187
 
188
  with gr.Tab("Set Preferences"):
189
  name_input = gr.Textbox(label="Your Name")