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