Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files319 unmodified lines3203213223233243253264 unmodified lines33133233333433533633733833934034134268 unmodified lines411412413414415319 unmodified lines# ββ build Gradio app βββββββββββββββββββββββββββββββββββββββββββββββββββββββdef build_app() -> gr.Blocks:with gr.Blocks(css=CSS, title="FaceInsight_AI") as demo:gr.HTML(HERO_HTML)4 unmodified linesgr.HTML(HOW_HTML)image_input = gr.Image(sources = ["webcam", "upload"],type = "numpy",label = "π· Camera / Upload",height = 360,mirror_webcam = True,show_label = True,)analyze_btn = gr.Button(68 unmodified linesapp.launch(server_name = "0.0.0.0",server_port = int(os.environ.get("PORT", 7860)),share = True, # creates a public gradio.live tunnel URL)319 unmodified lines3203213223233243253264 unmodified lines33133233333433533633733833934034168 unmodified lines410411412413414415319 unmodified lines# ββ build Gradio app βββββββββββββββββββββββββββββββββββββββββββββββββββββββdef build_app() -> gr.Blocks:with gr.Blocks(title="FaceInsight_AI") as demo:gr.HTML(HERO_HTML)4 unmodified linesgr.HTML(HOW_HTML)image_input = gr.Image(sources = ["webcam", "upload"],type = "numpy",label = "π· Camera / Upload",height = 360,show_label = True,)analyze_btn = gr.Button(68 unmodified linesapp.launch(server_name = "0.0.0.0",server_port = int(os.environ.get("PORT", 7860)),css = CSS,share = True, # creates a public gradio.live tunnel URL)
app.py+7-7