x1001000 commited on
Commit
e17b5d0
·
1 Parent(s): 8822b3b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ def get_media_info(file_path):
42
 
43
  iface = gr.Interface(
44
  fn=get_media_info,
45
- inputs=gr.inputs.File(label="Upload Media File"),
46
- outputs=gr.outputs.JSON(label="Media Information"),
47
  title="Media Info Extractor",
48
  description="Upload a media file (video or audio) to extract information using ffmpeg.",
49
  )
 
42
 
43
  iface = gr.Interface(
44
  fn=get_media_info,
45
+ inputs="file",
46
+ outputs="json",
47
  title="Media Info Extractor",
48
  description="Upload a media file (video or audio) to extract information using ffmpeg.",
49
  )