pgurazada1 commited on
Commit
cc356ac
·
verified ·
1 Parent(s): 5ed39a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -37,16 +37,17 @@ def predict(user_input):
37
 
38
 
39
  textbox = gr.Textbox(placeholder="Enter your query here", lines=6)
 
40
 
41
  demo = gr.Interface(
42
  inputs=textbox, fn=predict, outputs="text",
43
- title="Query Credit Card Database",
44
  description="This web API presents an interface to ask questions on information stored in a credit card database.",
45
- # article=schema,
46
- examples=[["Who are the top 5 merchants by total transactions?", ""],
47
- ["How many customers are in our database?", ""],
48
- ["How many accounts in total do we have?", ""]
49
- ],
50
  concurrency_limit=8
51
  )
52
 
 
37
 
38
 
39
  textbox = gr.Textbox(placeholder="Enter your query here", lines=6)
40
+ schema = "https://cdn-uploads.huggingface.co/production/uploads/64118e60756b9e455c7eddd6/81ggHEjrt6wFrMyXJtHVS.png"
41
 
42
  demo = gr.Interface(
43
  inputs=textbox, fn=predict, outputs="text",
44
+ title="Query a Credit Card Database",
45
  description="This web API presents an interface to ask questions on information stored in a credit card database.",
46
+ article=schema,
47
+ # examples=[["Who are the top 5 merchants by total transactions?", ""],
48
+ # ["How many customers are in our database?", ""],
49
+ # ["How many accounts in total do we have?", ""]
50
+ # ],
51
  concurrency_limit=8
52
  )
53