manu commited on
Commit
69ae3fa
β€’
1 Parent(s): 366615a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def update_passage(passage_name):
18
  if passage_name :
19
  try:
20
  sum = wikipedia.summary(wikipedia.search(passage_name)[0], sentences=2, auto_suggest=False)
21
- # print(sum, wikipedia.search(passage_name))
22
  passage.value = sum
23
  except:
24
  sum = "Please specify your article theme differently"
 
18
  if passage_name :
19
  try:
20
  sum = wikipedia.summary(wikipedia.search(passage_name)[0], sentences=2, auto_suggest=False)
21
+ # print(sum, wikipedia.search(passage_name))
22
  passage.value = sum
23
  except:
24
  sum = "Please specify your article theme differently"