Spaces:
Paused
Paused
modify radio ui for selected
Browse files
app.py
CHANGED
@@ -172,10 +172,13 @@ nvdajp_book_qa = gr.Interface(
|
|
172 |
fn=main,
|
173 |
inputs=[
|
174 |
gr.Textbox(label="query"),
|
175 |
-
gr.Radio(["E5", "OpenAI"],
|
176 |
-
gr.Radio(
|
|
|
|
|
177 |
gr.Radio(
|
178 |
["All", "ja-book", "ja-nvda-user-guide", "en-nvda-user-guide"],
|
|
|
179 |
label="絞り込み",
|
180 |
info="ドキュメント制限する?",
|
181 |
),
|
|
|
172 |
fn=main,
|
173 |
inputs=[
|
174 |
gr.Textbox(label="query"),
|
175 |
+
gr.Radio(["E5", "OpenAI"], value="E5", label="Embedding"),
|
176 |
+
gr.Radio(
|
177 |
+
AVAILABLE_LLMS, value="GPT-3.5", label="Model", info="GPU環境だとrinnaが選択可能"
|
178 |
+
),
|
179 |
gr.Radio(
|
180 |
["All", "ja-book", "ja-nvda-user-guide", "en-nvda-user-guide"],
|
181 |
+
value="All",
|
182 |
label="絞り込み",
|
183 |
info="ドキュメント制限する?",
|
184 |
),
|