Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ with gr.Blocks() as demo:
|
|
| 14 |
context = gr.Textbox(label="Context", lines=8, placeholder="Paste your passage here...")
|
| 15 |
|
| 16 |
with gr.Row():
|
| 17 |
-
qtype = gr.Dropdown(["short answer", "multiple choice", "true
|
| 18 |
difficulty = gr.Dropdown(["easy", "medium", "hard"], label="Difficulty")
|
| 19 |
num = gr.Slider(1, 5, step=1, label="Number of Questions", value=1)
|
| 20 |
|
|
|
|
| 14 |
context = gr.Textbox(label="Context", lines=8, placeholder="Paste your passage here...")
|
| 15 |
|
| 16 |
with gr.Row():
|
| 17 |
+
qtype = gr.Dropdown(["short answer", "multiple choice question", "true or false question"], label="Question Type")
|
| 18 |
difficulty = gr.Dropdown(["easy", "medium", "hard"], label="Difficulty")
|
| 19 |
num = gr.Slider(1, 5, step=1, label="Number of Questions", value=1)
|
| 20 |
|