Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ iface = gr.Interface(
|
|
49 |
gr.Number(label="Range: Start Number (x)"),
|
50 |
gr.Number(label="Range: End Number (y)"),
|
51 |
gr.Radio(label="Audio Option", choices=["Audio with number", "Audio without number"]),
|
52 |
-
gr.Dropdown(label="Select Part of Speech", choices=["
|
53 |
],
|
54 |
outputs=gr.Audio(label="Generated Speech"),
|
55 |
title="Oxford Learner Vocabulary by CEFR levels: Learn with Sound",
|
|
|
49 |
gr.Number(label="Range: Start Number (x)"),
|
50 |
gr.Number(label="Range: End Number (y)"),
|
51 |
gr.Radio(label="Audio Option", choices=["Audio with number", "Audio without number"]),
|
52 |
+
gr.Dropdown(label="Select Part of Speech", choices=["ALL", "Noun", "Verb", "Adjective", "Adverb", "Preposition"]) # Corrected line
|
53 |
],
|
54 |
outputs=gr.Audio(label="Generated Speech"),
|
55 |
title="Oxford Learner Vocabulary by CEFR levels: Learn with Sound",
|