Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,11 +49,6 @@ def match_suppliers(event_description, top_k=5):
|
|
| 49 |
with gr.Blocks() as demo:
|
| 50 |
gr.Markdown("## Supplier Matching App")
|
| 51 |
|
| 52 |
-
with gr.Tab("1. View Supplier Data"):
|
| 53 |
-
view_button = gr.Button("Show Supplier Data")
|
| 54 |
-
data_output = gr.Dataframe()
|
| 55 |
-
view_button.click(view_supplier_data, outputs=data_output)
|
| 56 |
-
|
| 57 |
with gr.Tab("2. Match Use Case to Suppliers"):
|
| 58 |
input_text = gr.Textbox(lines=3, label="Describe Your Event/Use Case")
|
| 59 |
top_k_input = gr.Slider(minimum=1, maximum=10, value=5, label="Top K Matches")
|
|
|
|
| 49 |
with gr.Blocks() as demo:
|
| 50 |
gr.Markdown("## Supplier Matching App")
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
with gr.Tab("2. Match Use Case to Suppliers"):
|
| 53 |
input_text = gr.Textbox(lines=3, label="Describe Your Event/Use Case")
|
| 54 |
top_k_input = gr.Slider(minimum=1, maximum=10, value=5, label="Top K Matches")
|