supun9 commited on
Commit
86be322
1 Parent(s): b8c51cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -71,11 +71,16 @@ with gr.Blocks() as demo:
71
  btn2 = gr.Button(value="Escalate")
72
  with gr.Tab("No faces detected"):
73
  gallery3 = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[5], height=3)
 
 
 
74
  with gr.Tab("More than one face detected"):
75
  gallery4 = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[5], height=3)
76
 
77
  btn.click(read, [profile, files], [label, text, gallery1, gallery2, gallery3, gallery4], show_progress=True, scroll_to_output=True)
78
  btn1.click(nothing, [], [])
79
  btn2.click(nothing, [], [])
 
 
80
 
81
  demo.launch()
 
71
  btn2 = gr.Button(value="Escalate")
72
  with gr.Tab("No faces detected"):
73
  gallery3 = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[5], height=3)
74
+ with gr.Row():
75
+ btn3 = gr.Button(value="Accept")
76
+ btn4 = gr.Button(value="Escalate")
77
  with gr.Tab("More than one face detected"):
78
  gallery4 = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[5], height=3)
79
 
80
  btn.click(read, [profile, files], [label, text, gallery1, gallery2, gallery3, gallery4], show_progress=True, scroll_to_output=True)
81
  btn1.click(nothing, [], [])
82
  btn2.click(nothing, [], [])
83
+ btn3.click(nothing, [], [])
84
+ btn4.click(nothing, [], [])
85
 
86
  demo.launch()