openfree commited on
Commit
6dde46d
·
verified ·
1 Parent(s): fff2a28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -55,15 +55,21 @@ def process_video(video_path):
55
 
56
  return Image.fromarray(cv2.cvtColor(grid, cv2.COLOR_BGR2RGB)), zip_path
57
 
58
- iface = gr.Interface(
 
 
 
 
 
 
 
59
  fn=process_video,
60
  inputs=gr.File(label="Upload Video"),
61
  outputs=[
62
  gr.Image(label="Frame Grid"),
63
  gr.File(label="Download All Frames (ZIP)")
64
  ],
65
- title="Video Frame Extractor",
66
- description="Upload a video to extract frames and create a grid thumbnail. You can also download individual frames or all frames as a ZIP file."
67
- )
68
 
69
  iface.launch()
 
55
 
56
  return Image.fromarray(cv2.cvtColor(grid, cv2.COLOR_BGR2RGB)), zip_path
57
 
58
+ css = """
59
+ footer {
60
+ visibility: hidden;
61
+ }
62
+ """
63
+
64
+
65
+ iface = gr.Interface(theme="Nymbo/Nymbo_Theme", css=css,
66
  fn=process_video,
67
  inputs=gr.File(label="Upload Video"),
68
  outputs=[
69
  gr.Image(label="Frame Grid"),
70
  gr.File(label="Download All Frames (ZIP)")
71
  ],
72
+ title="비디오 to 이미지(프레임)",
73
+
 
74
 
75
  iface.launch()