Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -91,7 +91,7 @@ with gradio.Blocks() as demo:
|
|
| 91 |
)
|
| 92 |
with gradio.Accordion("Settings", open=False):
|
| 93 |
k = gradio.Number(10.0, label="Number of results", precision=0)
|
| 94 |
-
k = gradio.Radio([True, False], label="
|
| 95 |
results = gradio.Markdown()
|
| 96 |
query.change(fn=search, inputs=[query, k, n], outputs=results)
|
| 97 |
k.change(fn=search, inputs=[query, k, n], outputs=results)
|
|
|
|
| 91 |
)
|
| 92 |
with gradio.Accordion("Settings", open=False):
|
| 93 |
k = gradio.Number(10.0, label="Number of results", precision=0)
|
| 94 |
+
k = gradio.Radio([True, False], label="Normalized")
|
| 95 |
results = gradio.Markdown()
|
| 96 |
query.change(fn=search, inputs=[query, k, n], outputs=results)
|
| 97 |
k.change(fn=search, inputs=[query, k, n], outputs=results)
|