ddlowkey commited on
Commit
152cd43
·
verified ·
1 Parent(s): d40ffef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -255,7 +255,7 @@ def split_image(image: Image.Image) -> List[Image.Image]:
255
  return [preprocess_image(image) for image in images]
256
 
257
 
258
- with gr.Blocks(delete_cache=(600, 600)) as demo:
259
  gr.Markdown("""
260
  ## 图片生成3D模型
261
  * 上传一张或多张图片,点击“生成模型”。如果有alpha通道会识别成背景剔除遮罩(没有会用默认算法剔除)。
 
255
  return [preprocess_image(image) for image in images]
256
 
257
 
258
+ with gr.Blocks(theme=gr.themes.Soft() ,delete_cache=(600, 600)) as demo:
259
  gr.Markdown("""
260
  ## 图片生成3D模型
261
  * 上传一张或多张图片,点击“生成模型”。如果有alpha通道会识别成背景剔除遮罩(没有会用默认算法剔除)。