Update app.py
Browse files
app.py
CHANGED
|
@@ -799,7 +799,7 @@ with gr.Blocks() as demo:
|
|
| 799 |
|
| 800 |
with gr.Tabs():
|
| 801 |
|
| 802 |
-
with gr.Tab("
|
| 803 |
with gr.Row():
|
| 804 |
user_query = gr.Textbox(
|
| 805 |
label="Enter your query",
|
|
@@ -866,7 +866,7 @@ with gr.Blocks() as demo:
|
|
| 866 |
card_df = gr.Dataframe(headers=["Card Name", "Matched Features", "Description"])
|
| 867 |
card_file = gr.File(label="Download Full Recommendations (CSV)")
|
| 868 |
|
| 869 |
-
with gr.Tab("
|
| 870 |
gr.Markdown("### Compare Recommended Cards")
|
| 871 |
compare_checkboxes = gr.CheckboxGroup(
|
| 872 |
choices=[], label="Select 2 or more cards to compare",
|
|
@@ -883,7 +883,7 @@ with gr.Blocks() as demo:
|
|
| 883 |
full_compare_btn = gr.Button("Compare Selected Cards", variant='primary')
|
| 884 |
full_compare_output = gr.HTML()
|
| 885 |
|
| 886 |
-
with gr.Tab("
|
| 887 |
gr.Markdown("### Ask any follow-up question ")
|
| 888 |
chatbot = gr.Chatbot(type='messages')
|
| 889 |
user_query_for_chat = gr.Textbox(
|
|
|
|
| 799 |
|
| 800 |
with gr.Tabs():
|
| 801 |
|
| 802 |
+
with gr.Tab("Get Recommendations"):
|
| 803 |
with gr.Row():
|
| 804 |
user_query = gr.Textbox(
|
| 805 |
label="Enter your query",
|
|
|
|
| 866 |
card_df = gr.Dataframe(headers=["Card Name", "Matched Features", "Description"])
|
| 867 |
card_file = gr.File(label="Download Full Recommendations (CSV)")
|
| 868 |
|
| 869 |
+
with gr.Tab("Compare Cards"):
|
| 870 |
gr.Markdown("### Compare Recommended Cards")
|
| 871 |
compare_checkboxes = gr.CheckboxGroup(
|
| 872 |
choices=[], label="Select 2 or more cards to compare",
|
|
|
|
| 883 |
full_compare_btn = gr.Button("Compare Selected Cards", variant='primary')
|
| 884 |
full_compare_output = gr.HTML()
|
| 885 |
|
| 886 |
+
with gr.Tab("Ask Follow-up Questions"):
|
| 887 |
gr.Markdown("### Ask any follow-up question ")
|
| 888 |
chatbot = gr.Chatbot(type='messages')
|
| 889 |
user_query_for_chat = gr.Textbox(
|