YulianSa commited on
Commit
1570031
·
1 Parent(s): a59b969
Files changed (2) hide show
  1. app.py +1 -2
  2. infer_api.py +2 -2
app.py CHANGED
@@ -58,8 +58,7 @@ Code: <a href='https://github.com/hyz317/StdGEN' target='_blank'>GitHub</a>. Pap
58
  ❗️❗️❗️**Important Notes:**
59
  1. Refinement stage takes about ~3min, please be patient.
60
 
61
- 2. - You can upload any reference image (with or without background). A-pose images are also supported (white bkg required).
62
- - If the image has an alpha channel (transparency), background segmentation will be automatically performed. Alternatively, you can pre-segment the background using other tools and upload the result directly.
63
 
64
  3. Real person images generally work well, but note that normals may appear smoother than expected. You can try to use other monocular normal estimation models.
65
 
 
58
  ❗️❗️❗️**Important Notes:**
59
  1. Refinement stage takes about ~3min, please be patient.
60
 
61
+ 2. You can upload any reference image (with or without background), A-pose images are also supported (white bkg required). If the image has an alpha channel (transparency), background segmentation will be automatically performed. Alternatively, you can pre-segment the background using other tools and upload the result directly.
 
62
 
63
  3. Real person images generally work well, but note that normals may appear smoother than expected. You can try to use other monocular normal estimation models.
64
 
infer_api.py CHANGED
@@ -528,7 +528,7 @@ infer_refine_generator = SamAutomaticMaskGenerator(
528
  )
529
  infer_refine_outside_ratio = 0.20
530
 
531
- @spaces.GPU(duration=240)
532
  def infer_refine(meshes, imgs):
533
  fixed_v, fixed_f, fixed_t = None, None, None
534
  flow_vert, flow_vector = None, None
@@ -790,7 +790,7 @@ def process_im(im):
790
 
791
  all_results = {}
792
 
793
- @spaces.GPU
794
  def infer_multiview_gen(img, seed, num_levels):
795
  set_seed(seed)
796
  data = {}
 
528
  )
529
  infer_refine_outside_ratio = 0.20
530
 
531
+ @spaces.GPU(duration=120)
532
  def infer_refine(meshes, imgs):
533
  fixed_v, fixed_f, fixed_t = None, None, None
534
  flow_vert, flow_vector = None, None
 
790
 
791
  all_results = {}
792
 
793
+ @spaces.GPU(duration=180)
794
  def infer_multiview_gen(img, seed, num_levels):
795
  set_seed(seed)
796
  data = {}