ola13 commited on
Commit
5188fa9
·
1 Parent(s): 7207d19

fix defaults

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -180,7 +180,7 @@ if __name__ == "__main__":
180
  css=".underline-on-hover:hover { text-decoration: underline; } .flagging { font-size:12px; color:Silver; }"
181
  )
182
 
183
- def submit(query, lang, k):
184
  if query == "":
185
  raise ValueError("Invalid query provided")
186
  return {
 
180
  css=".underline-on-hover:hover { text-decoration: underline; } .flagging { font-size:12px; color:Silver; }"
181
  )
182
 
183
+ def submit(query, lang="en", k=10):
184
  if query == "":
185
  raise ValueError("Invalid query provided")
186
  return {