liuyuan-pal commited on
Commit
dc7fead
·
1 Parent(s): 973977c
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -25,12 +25,12 @@ Given a single-view image, SyncDreamer is able to generate multiview-consistent
25
  Procedure: </br>
26
  **Step 0**. Upload an image or select an example. ==> The foreground is masked out by SAM. </br>
27
  **Step 1**. Select "Crop size" and click "Crop it". ==> The foreground object is centered and resized. </br>
28
- **Step 2**. Select "Elevation angle "and click "Run generation". ==> Generate multiview images. (This costs about 2 min.) </br>
29
  To reconstruct a NeRF or a 3D mesh from the generated images, please refer to our [github repository](https://github.com/liuyuan-pal/SyncDreamer).
30
  '''
31
  _USER_GUIDE0 = "Step0: Please upload an image in the block above (or choose an example shown in the left)."
32
  _USER_GUIDE1 = "Step1: Please select a **Crop size** and click **Crop it**."
33
- _USER_GUIDE2 = "Step2: Please choose a **Elevation angle** and click **Run Generate**. This costs about 2 min."
34
  _USER_GUIDE3 = "Generated multiview images are shown below!"
35
 
36
  deployed = True
@@ -177,7 +177,7 @@ def run_demo():
177
  ['hf_demo/examples/flower.png',0,200],
178
  ['hf_demo/examples/forest.png',30,200],
179
  ['hf_demo/examples/monkey.png',30,200],
180
- ['hf_demo/examples/teapot.png',0,200],
181
  ]
182
 
183
  image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image', tool=None, interactive=True)
 
25
  Procedure: </br>
26
  **Step 0**. Upload an image or select an example. ==> The foreground is masked out by SAM. </br>
27
  **Step 1**. Select "Crop size" and click "Crop it". ==> The foreground object is centered and resized. </br>
28
+ **Step 2**. Select "Elevation angle "and click "Run generation". ==> Generate multiview images. (This costs about 30s.) </br>
29
  To reconstruct a NeRF or a 3D mesh from the generated images, please refer to our [github repository](https://github.com/liuyuan-pal/SyncDreamer).
30
  '''
31
  _USER_GUIDE0 = "Step0: Please upload an image in the block above (or choose an example shown in the left)."
32
  _USER_GUIDE1 = "Step1: Please select a **Crop size** and click **Crop it**."
33
+ _USER_GUIDE2 = "Step2: Please choose a **Elevation angle** and click **Run Generate**. This costs about 30s."
34
  _USER_GUIDE3 = "Generated multiview images are shown below!"
35
 
36
  deployed = True
 
177
  ['hf_demo/examples/flower.png',0,200],
178
  ['hf_demo/examples/forest.png',30,200],
179
  ['hf_demo/examples/monkey.png',30,200],
180
+ ['hf_demo/examples/teapot.png',20,200],
181
  ]
182
 
183
  image_block = gr.Image(type='pil', image_mode='RGBA', height=256, label='Input image', tool=None, interactive=True)