artificialguybr
commited on
Commit
•
6c07832
1
Parent(s):
4cc6483
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,8 @@ iface = gr.Interface(
|
|
36 |
fn=generate_embedding,
|
37 |
inputs=[
|
38 |
gr.Textbox(label="Input Text"),
|
39 |
-
gr.Radio(choices=["query", "passage"], label="Model Type"),
|
40 |
-
gr.Radio(choices=["float", "base64"], label="Encoding Format")
|
41 |
],
|
42 |
outputs=[gr.Textbox(label="Embedding")],
|
43 |
title="NVIDIA Retrieval QA Embedding Generator",
|
|
|
36 |
fn=generate_embedding,
|
37 |
inputs=[
|
38 |
gr.Textbox(label="Input Text"),
|
39 |
+
gr.Radio(choices=["query", "passage"], value="query", label="Model Type"),
|
40 |
+
gr.Radio(choices=["float", "base64"], value="float", label="Encoding Format")
|
41 |
],
|
42 |
outputs=[gr.Textbox(label="Embedding")],
|
43 |
title="NVIDIA Retrieval QA Embedding Generator",
|