ImanAmran commited on
Commit
9958c37
1 Parent(s): f4a6ecd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,14 +63,14 @@ def main():
63
  with gr.Row():
64
  img_register = gr.Image()
65
  user_id = gr.Textbox(label="User ID")
66
- register_button = gr.Button("Register", style={"background-color": "orange", "color": "white"})
67
  register_output = gr.Textbox()
68
  register_button.click(register_user, inputs=[img_register, user_id], outputs=register_output)
69
 
70
  with gr.Tab("Recognize"):
71
  with gr.Row():
72
  img_recognize = gr.Image()
73
- recognize_button = gr.Button("Recognize", style={"background-color": "orange", "color": "white"})
74
  recognize_output = gr.Textbox()
75
  recognize_button.click(recognize_user, inputs=[img_recognize], outputs=recognize_output)
76
 
 
63
  with gr.Row():
64
  img_register = gr.Image()
65
  user_id = gr.Textbox(label="User ID")
66
+ register_button = gr.Button("Register")
67
  register_output = gr.Textbox()
68
  register_button.click(register_user, inputs=[img_register, user_id], outputs=register_output)
69
 
70
  with gr.Tab("Recognize"):
71
  with gr.Row():
72
  img_recognize = gr.Image()
73
+ recognize_button = gr.Button("Recognize")
74
  recognize_output = gr.Textbox()
75
  recognize_button.click(recognize_user, inputs=[img_recognize], outputs=recognize_output)
76