Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|