Spaces:
Sleeping
Sleeping
phucpx
commited on
Commit
·
a997ce6
1
Parent(s):
06730a8
Add application file
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ iface = gr.Interface(
|
|
102 |
gr.Dropdown(LIST_MODELS, label="Model Usage", value=LIST_MODELS[0]),
|
103 |
gr.Dropdown(LIST_USER_LEVEL, label="User Level", value=LIST_USER_LEVEL[0]),
|
104 |
gr.Number(value=5, label="Number of Questions"),
|
105 |
-
gr.Dropdown(["Short answer", "Single choice", "Multiple choice"], label="Question Type", value="
|
106 |
gr.Dropdown(["English", "Vietnamese"], label="Language", value="English"),
|
107 |
gr.Dropdown(["English", "Vietnamese"], label="Explanation Language", value="English"),
|
108 |
gr.Textbox(lines=5, placeholder="Enter context here...",
|
|
|
102 |
gr.Dropdown(LIST_MODELS, label="Model Usage", value=LIST_MODELS[0]),
|
103 |
gr.Dropdown(LIST_USER_LEVEL, label="User Level", value=LIST_USER_LEVEL[0]),
|
104 |
gr.Number(value=5, label="Number of Questions"),
|
105 |
+
gr.Dropdown(["Short answer", "Single choice", "Multiple choice"], label="Question Type", value="Single choice"),
|
106 |
gr.Dropdown(["English", "Vietnamese"], label="Language", value="English"),
|
107 |
gr.Dropdown(["English", "Vietnamese"], label="Explanation Language", value="English"),
|
108 |
gr.Textbox(lines=5, placeholder="Enter context here...",
|