Spaces:
Sleeping
Sleeping
Commit
·
58114b7
1
Parent(s):
9bebd75
Bug fix
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ examples = [
|
|
110 |
input_question = gr.Dropdown(choices=examples, label='Question:',
|
111 |
info='A multiple-choice commonsense question. Please follow the UnifiedQA input format: "{question} \\n (A) ... (B) ... (C) ..."',
|
112 |
)
|
113 |
-
input_model = gr.
|
114 |
input_max_question_len = gr.Number(label='Max number of tokens in question:', value=256, precision=0)
|
115 |
input_max_knowledge_len = gr.Number(label='Max number of tokens in knowledge:', value=32, precision=0)
|
116 |
input_max_answer_len = gr.Number(label='Max number of tokens in answer:', value=2, precision=0)
|
|
|
110 |
input_question = gr.Dropdown(choices=examples, label='Question:',
|
111 |
info='A multiple-choice commonsense question. Please follow the UnifiedQA input format: "{question} \\n (A) ... (B) ... (C) ..."',
|
112 |
)
|
113 |
+
input_model = gr.Dropdown(label='Model:', value=MODELS[0], choices=MODELS)
|
114 |
input_max_question_len = gr.Number(label='Max number of tokens in question:', value=256, precision=0)
|
115 |
input_max_knowledge_len = gr.Number(label='Max number of tokens in knowledge:', value=32, precision=0)
|
116 |
input_max_answer_len = gr.Number(label='Max number of tokens in answer:', value=2, precision=0)
|