rushankg commited on
Commit
3818df8
·
verified ·
1 Parent(s): 56c13ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -18,6 +18,12 @@ for headline, url in articles:
18
  try:
19
  full_text = fetch_full_article(url)
20
  meme_url = article_to_meme(full_text)
 
 
21
  st.image(meme_url, use_column_width=True)
 
 
 
 
22
  except Exception as e:
23
  st.error(f"Error generating meme: {e}")
 
18
  try:
19
  full_text = fetch_full_article(url)
20
  meme_url = article_to_meme(full_text)
21
+
22
+ # Display the meme image
23
  st.image(meme_url, use_column_width=True)
24
+
25
+ # Display the raw meme URL below the image
26
+ st.markdown(meme_url)
27
+
28
  except Exception as e:
29
  st.error(f"Error generating meme: {e}")