faiimea commited on
Commit
f00f52c
1 Parent(s): 20c56ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -189,7 +189,7 @@ def video_matting(video_src_content,video_bgr_content):
189
  if 'ref' in args.output_types:
190
  ref_writer.add_batch(F.interpolate(ref, src.shape[2:], mode='nearest'))
191
 
192
- return './output/com_1.mp4'
193
 
194
  # 读取本地视频文件的二进制数据
195
  def get_video_content(video_path):
@@ -198,7 +198,7 @@ def get_video_content(video_path):
198
  return video_content
199
 
200
  # 假设你的视频文件路径是'./local_video.mp4'
201
- local_video_path = './output/com_1.mp4'
202
  local_video_content = get_video_content(local_video_path)
203
 
204
  # 创建Gradio界面
 
189
  if 'ref' in args.output_types:
190
  ref_writer.add_batch(F.interpolate(ref, src.shape[2:], mode='nearest'))
191
 
192
+ return './output/com.mp4'
193
 
194
  # 读取本地视频文件的二进制数据
195
  def get_video_content(video_path):
 
198
  return video_content
199
 
200
  # 假设你的视频文件路径是'./local_video.mp4'
201
+ local_video_path = './output/com.mp4'
202
  local_video_content = get_video_content(local_video_path)
203
 
204
  # 创建Gradio界面