showhype commited on
Commit
565830f
1 Parent(s): f0c8eec

Update index.py

Browse files
Files changed (1) hide show
  1. index.py +1 -1
index.py CHANGED
@@ -45,9 +45,9 @@ model.loadcheckpoints(model_path)
45
  def handler(input_image):
46
  # 处理输入图片
47
  mask, foreground = model.inference(input_image)
48
-
49
  return [mask, foreground]
50
 
 
51
  # 创建 Gradio 界面
52
  def create_interface():
53
  with gr.Blocks() as demo:
 
45
  def handler(input_image):
46
  # 处理输入图片
47
  mask, foreground = model.inference(input_image)
 
48
  return [mask, foreground]
49
 
50
+
51
  # 创建 Gradio 界面
52
  def create_interface():
53
  with gr.Blocks() as demo: