amirgame197 commited on
Commit
8cd5202
1 Parent(s): 27202f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -48,9 +48,12 @@ def doo(video, mode):
48
  writer.release()
49
  return 'output.mp4'
50
 
 
 
 
51
  iface = gr.Interface(
52
  fn=doo,
53
  inputs=["video", gr.components.Radio(['Normal', 'Fast'], label='Select mode', value='Normal', info= 'Normal is more accurate, but takes longer. | Fast has lower accuracy so the process will be faster.')],
54
- outputs="video"
55
  )
56
  iface.launch()
 
48
  writer.release()
49
  return 'output.mp4'
50
 
51
+ title = "🎞️Video Background Removal tool🎥"
52
+ description = """Please note that if your video file is long (or having high amount of frames) the result may be shorter than input video because of the GPU timeout.
53
+ In this case consider trying Fast mode."""
54
  iface = gr.Interface(
55
  fn=doo,
56
  inputs=["video", gr.components.Radio(['Normal', 'Fast'], label='Select mode', value='Normal', info= 'Normal is more accurate, but takes longer. | Fast has lower accuracy so the process will be faster.')],
57
+ outputs="video", title=title, description=description
58
  )
59
  iface.launch()