MohamedMotaz commited on
Commit
fd678cb
1 Parent(s): c04ef19

final deployment

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def process_file(file, is_video , skip = 1 , add_audio = True):
13
 
14
  iface = gr.Interface(
15
  fn=process_file,
16
- inputs=[gr.File(label="Upload File"), gr.Checkbox(label="Is Video?") , gr.Slider(1, 20, 1, default=1, label="Frame Skip"), gr.Checkbox(label="Add Audio?")],
17
  outputs=gr.File(label="Processed File"),
18
  title="Face Emotion Detection",
19
  description="Upload an image or video to detect and annotate emotions."
 
13
 
14
  iface = gr.Interface(
15
  fn=process_file,
16
+ inputs=[gr.File(label="Upload File"), gr.Checkbox(label="Is Video?") , round(gr.Slider(1, 20, 1, value=1, label="Frame Skip")), gr.Checkbox(label="Add Audio?")],
17
  outputs=gr.File(label="Processed File"),
18
  title="Face Emotion Detection",
19
  description="Upload an image or video to detect and annotate emotions."