Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,9 @@ model = whisper.load_model("small")
|
|
10 |
wikipedia.set_lang("en")
|
11 |
|
12 |
def set_default_passage():
|
13 |
-
|
|
|
|
|
14 |
|
15 |
def update_passage(passage_name):
|
16 |
try:
|
|
|
10 |
wikipedia.set_lang("en")
|
11 |
|
12 |
def set_default_passage():
|
13 |
+
sum = wikipedia.summary("pirate code", sentences=2)
|
14 |
+
passage.value=sum
|
15 |
+
return sum
|
16 |
|
17 |
def update_passage(passage_name):
|
18 |
try:
|