szili2011 commited on
Commit
b02afc0
·
verified ·
1 Parent(s): 7259665

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ iface = gr.Interface(
43
  fn=gradio_interface,
44
  inputs=[
45
  gr.Video(label="Import Video"), # Ensure video input
46
- gr.Slider(label="Sensitivity", minimum=0, maximum=100, step=1, default=50)
47
  ],
48
  outputs="text" # Change this according to your desired output format
49
  )
 
43
  fn=gradio_interface,
44
  inputs=[
45
  gr.Video(label="Import Video"), # Ensure video input
46
+ gr.Slider(label="Sensitivity", minimum=0, maximum=100, step=1, value=50) # Use 'value' instead of 'default'
47
  ],
48
  outputs="text" # Change this according to your desired output format
49
  )