Tim13ekd commited on
Commit
3bdfbb3
·
verified ·
1 Parent(s): e2342c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -5,7 +5,6 @@ import os
5
 
6
  # -------- Video Trim Funktion --------
7
  def trim_video(file, start, duration):
8
- # Pfade für temporäre Dateien
9
  input_path = f"/tmp/{uuid.uuid4()}_in.mp4"
10
  output_path = f"/tmp/{uuid.uuid4()}_out.mp4"
11
 
@@ -40,5 +39,5 @@ iface = gr.Interface(
40
  description="Trimme Videos direkt im Hugging Face Space"
41
  )
42
 
43
- # -------- Starten des Servers --------
44
  iface.launch(server_name="0.0.0.0", server_port=7860)
 
5
 
6
  # -------- Video Trim Funktion --------
7
  def trim_video(file, start, duration):
 
8
  input_path = f"/tmp/{uuid.uuid4()}_in.mp4"
9
  output_path = f"/tmp/{uuid.uuid4()}_out.mp4"
10
 
 
39
  description="Trimme Videos direkt im Hugging Face Space"
40
  )
41
 
42
+ # -------- Server starten --------
43
  iface.launch(server_name="0.0.0.0", server_port=7860)