PrashanthB461 commited on
Commit
fe97bcb
Β·
verified Β·
1 Parent(s): fc67533

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -439,7 +439,8 @@ def create_interface():
439
  with gr.Tab("πŸ“Š Output & Log"):
440
  with gr.Row():
441
  with gr.Column(scale=2):
442
- video_output = gr.Image(label="Recognition Output", interactive=False, type="pil")
 
443
  with gr.Column(scale=1):
444
  session_log_display = gr.Markdown(label="πŸ“‹ Session Log", value="System is ready.")
445
 
 
439
  with gr.Tab("πŸ“Š Output & Log"):
440
  with gr.Row():
441
  with gr.Column(scale=2):
442
+ # --- MODIFICATION: Changed type from "pil" to "numpy" ---
443
+ video_output = gr.Image(label="Recognition Output", interactive=False, type="numpy")
444
  with gr.Column(scale=1):
445
  session_log_display = gr.Markdown(label="πŸ“‹ Session Log", value="System is ready.")
446