SuriRaja commited on
Commit
2b8c70c
·
verified ·
1 Parent(s): f8f4a14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -197,7 +197,7 @@ with gr.Blocks() as demo:
197
  result_html = gr.HTML(label="🧪 Health Report Table")
198
  result_image = gr.Image(label="📷 Key Frame Snapshot")
199
 
200
- submit_btn.click(fn=lambda mode, video, image: analyze_video(video) if mode=="Video" else analyze_face(image), inputs=[mode_selector, video_input, video_input], outputs=[result_html, result_image])
201
 
202
  gr.Markdown("""---
203
  ✅ Table Format • AI Prediction • rPPG-based HR • Dynamic Summary • Multilingual Support • CTA""")
 
197
  result_html = gr.HTML(label="🧪 Health Report Table")
198
  result_image = gr.Image(label="📷 Key Frame Snapshot")
199
 
200
+ submit_btn.click(fn=lambda mode, file: analyze_video(file) if mode=="Video" else analyze_face(file), inputs=[mode_selector, video_input], outputs=[result_html, result_image])
201
 
202
  gr.Markdown("""---
203
  ✅ Table Format • AI Prediction • rPPG-based HR • Dynamic Summary • Multilingual Support • CTA""")