shaina commited on
Commit
96bb8fa
1 Parent(s): cfac6e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -131,8 +131,12 @@ def main():
131
 
132
  st.header("Latest Covid News")
133
  latest_news = news()
134
- for i in latest_news[0:10]:
135
  st.write(i['title'])
 
 
 
 
136
  link_ = i['link']
137
  link_ = link_.replace("news.google.com/.", "https://news.google.com")
138
  st.markdown(link_)
 
131
 
132
  st.header("Latest Covid News")
133
  latest_news = news()
134
+ for i in latest_news[0:5]:
135
  st.write(i['title'])
136
+ st.image(
137
+ i['img'],
138
+ width=100, # Manually Adjust the width of the image as per requirement
139
+ )
140
  link_ = i['link']
141
  link_ = link_.replace("news.google.com/.", "https://news.google.com")
142
  st.markdown(link_)