Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|
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 |
|
|
|
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 |
|