manu commited on
Commit
1ff890b
β€’
1 Parent(s): 10ea86f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -10,7 +10,9 @@ model = whisper.load_model("small")
10
  wikipedia.set_lang("en")
11
 
12
  def set_default_passage():
13
- return wikipedia.summary("pirate code", sentences=2)
 
 
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: