thak123 commited on
Commit
f3091e4
·
1 Parent(s): bee43ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def get_definition_and_image(word):
70
  return None, None
71
 
72
  # Function to randomly sample a noun or verb
73
- def sample_word_and_display_info(dummy):
74
  is_noun = random.choice([True, False]) # Randomly choose noun or verb
75
  if is_noun:
76
  pos = "n"
 
70
  return None, None
71
 
72
  # Function to randomly sample a noun or verb
73
+ def sample_word_and_display_info(dummy="dummy"):
74
  is_noun = random.choice([True, False]) # Randomly choose noun or verb
75
  if is_noun:
76
  pos = "n"