Spaces:
Runtime error
Runtime error
added default value for query
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ with gr.Blocks(title=title) as demo:
|
|
83 |
#Image.open("./data/teesside university logo.png"), height=70, show_label=False, container=False)
|
84 |
with gr.Column(variant="compact"):
|
85 |
with gr.Row(variant="compact"):
|
86 |
-
query = gr.Textbox(label="Enter your query", show_label=False, placeholder= "Enter your query" , scale=5)
|
87 |
btn = gr.Button("Search query", variant="primary", scale=1)
|
88 |
|
89 |
n_s = gr.Slider(2, 10, label='Number of Top Results', value=5, step=1.0, show_label=True)
|
|
|
83 |
#Image.open("./data/teesside university logo.png"), height=70, show_label=False, container=False)
|
84 |
with gr.Column(variant="compact"):
|
85 |
with gr.Row(variant="compact"):
|
86 |
+
query = gr.Textbox(value="Chest X-Ray Photos", label="Enter your query", show_label=False, placeholder= "Enter your query" , scale=5)
|
87 |
btn = gr.Button("Search query", variant="primary", scale=1)
|
88 |
|
89 |
n_s = gr.Slider(2, 10, label='Number of Top Results', value=5, step=1.0, show_label=True)
|