Ganesh43 commited on
Commit
fb72267
1 Parent(s): efb54e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
5
  def main():
6
  description = "Querying a csv using TAPEX model. You can ask a question about tabular data. TAPAS model " \
7
  "will produce the result. Finetuned TAPEX model runs on max 5000 rows and 20 columns data. " \
8
- "A sample data of shopify store sales is provided"
9
 
10
  article = "<p style='text-align: center'><a href='https://unscrambl.com/' target='_blank'>Unscrambl</a> | <a href='https://huggingface.co/google/tapas-base-finetuned-wtq' target='_blank'>TAPAS Model</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=abaranovskij_tablequery' alt='visitor badge'></center>"
11
 
@@ -15,9 +15,9 @@ def main():
15
  outputs=[gr.JSON(label="Result"),
16
  gr.Dataframe(label="All data")],
17
  examples=[
18
- ["What is the highest order_amount?", "shopify.csv"],
19
- ["Which user_id has the highest order_amount?", "shopify.csv"],
20
- ["Which payment method was used the most?", "shopify.csv"]
21
  ],
22
  title="Table Question Answering (TAPEX)",
23
  description=description,
 
5
  def main():
6
  description = "Querying a csv using TAPEX model. You can ask a question about tabular data. TAPAS model " \
7
  "will produce the result. Finetuned TAPEX model runs on max 5000 rows and 20 columns data. " \
8
+ "A sample data of Retail sales data is provided"
9
 
10
  article = "<p style='text-align: center'><a href='https://unscrambl.com/' target='_blank'>Unscrambl</a> | <a href='https://huggingface.co/google/tapas-base-finetuned-wtq' target='_blank'>TAPAS Model</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=abaranovskij_tablequery' alt='visitor badge'></center>"
11
 
 
15
  outputs=[gr.JSON(label="Result"),
16
  gr.Dataframe(label="All data")],
17
  examples=[
18
+ ["What is the highest order_amount?", "Retail_sales_dataset.csv"],
19
+ ["Which user_id has the highest order_amount?", "Retail_sales_dataset.csv"],
20
+ ["Which payment method was used the most?", "Retail_sales_dataset.csv"]
21
  ],
22
  title="Table Question Answering (TAPEX)",
23
  description=description,