manu commited on
Commit
c0d5653
β€’
1 Parent(s): de76ce9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -13,6 +13,7 @@ default_passage = wikipedia.summary("pirate code", sentences=2)
13
  def update_passage(passage_name):
14
  try:
15
  sum = wikipedia.summary(passage_name, sentences=2)
 
16
  except:
17
  sum = "Please specify your article name differently"
18
 
 
13
  def update_passage(passage_name):
14
  try:
15
  sum = wikipedia.summary(passage_name, sentences=2)
16
+ passage.value = sum
17
  except:
18
  sum = "Please specify your article name differently"
19