Sakibrumu commited on
Commit
f84d408
·
verified ·
1 Parent(s): 58a562d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -94,7 +94,8 @@ interface = gr.Interface(
94
  fn=process_input,
95
  inputs=gr.File(type="filepath", label="Upload Image or Video"),
96
  outputs=[
97
- gr.Video(label="Output Video or Image") | gr.Image(type="pil", label="Output"),
 
98
  gr.Textbox(label="Detected Text (Bangla)"),
99
  gr.Textbox(label="Confidence (%)")
100
  ],
 
94
  fn=process_input,
95
  inputs=gr.File(type="filepath", label="Upload Image or Video"),
96
  outputs=[
97
+ gr.Video(label="Output Video"),
98
+ gr.Image(type="pil", label="Output Image"),
99
  gr.Textbox(label="Detected Text (Bangla)"),
100
  gr.Textbox(label="Confidence (%)")
101
  ],