Humanlearning commited on
Commit
8cec195
·
1 Parent(s): fee8538

feat: add example inputs for provider search UI

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -57,6 +57,17 @@ with gr.Blocks() as demo:
57
  outputs=search_output
58
  )
59
 
 
 
 
 
 
 
 
 
 
 
 
60
  with gr.Tab("Get Provider by NPI"):
61
  npi_input = gr.Textbox(label="NPI", placeholder="10-digit NPI")
62
  get_btn = gr.Button("Get Details")
 
57
  outputs=search_output
58
  )
59
 
60
+ gr.Examples(
61
+ examples=[
62
+ ["SHELLEY AKEY", "AZ", "363LN0000X"],
63
+ ["KATHERYN ALIOTO", "CA", "101YA0400X"],
64
+ ["Counselor", "CA", ""],
65
+ ["Physical Therapist", "WA", "225100000X"],
66
+ ],
67
+ inputs=[query_input, state_input, taxonomy_input],
68
+ label="Try Examples"
69
+ )
70
+
71
  with gr.Tab("Get Provider by NPI"):
72
  npi_input = gr.Textbox(label="NPI", placeholder="10-digit NPI")
73
  get_btn = gr.Button("Get Details")