Spaces:
Paused
Paused
Commit
·
d2b2041
1
Parent(s):
1353ea1
Update UI
Browse files
app.py
CHANGED
@@ -23,13 +23,13 @@ from controlnet_sync import ControlNetModelSync
|
|
23 |
|
24 |
_TITLE = '''ControlNet + SyncDreamer'''
|
25 |
_DESCRIPTION = '''
|
26 |
-
Given a single-view image and select a target azimuth, ControlNet + SyncDreamer is able to generate the target view
|
27 |
|
28 |
This HF app is modified from [SyncDreamer HF app](https://huggingface.co/spaces/liuyuan-pal/SyncDreamer). The difference is that I added ControlNet on top of SyncDreamer.
|
29 |
-
In addition, the azimuths of both input and output images are
|
30 |
'''
|
31 |
_USER_GUIDE0 = "Step1: Please upload an image in the block above (or choose an example shown in the left)."
|
32 |
-
_USER_GUIDE2 = "Step2: Please choose a **Target azimuth** and click **Run Generation**. The **Target azimuth** is the azimuth of the output image relative to the input image in clockwise. This costs about
|
33 |
_USER_GUIDE3 = "Generated output image of the target view is shown below! (You may adjust the **Crop size** and **Target azimuth** to get another result!)"
|
34 |
|
35 |
others = '''**Step 1**. Select "Crop size" and click "Crop it". ==> The foreground object is centered and resized. </br>'''
|
|
|
23 |
|
24 |
_TITLE = '''ControlNet + SyncDreamer'''
|
25 |
_DESCRIPTION = '''
|
26 |
+
Given a single-view image and select a target azimuth, ControlNet + SyncDreamer is able to generate the target view.
|
27 |
|
28 |
This HF app is modified from [SyncDreamer HF app](https://huggingface.co/spaces/liuyuan-pal/SyncDreamer). The difference is that I added ControlNet on top of SyncDreamer.
|
29 |
+
In addition, the azimuths of both input and output images are assumed to be 30 degrees.
|
30 |
'''
|
31 |
_USER_GUIDE0 = "Step1: Please upload an image in the block above (or choose an example shown in the left)."
|
32 |
+
_USER_GUIDE2 = "Step2: Please choose a **Target azimuth** and click **Run Generation**. The **Target azimuth** is the azimuth of the output image relative to the input image in clockwise. This costs about 45s."
|
33 |
_USER_GUIDE3 = "Generated output image of the target view is shown below! (You may adjust the **Crop size** and **Target azimuth** to get another result!)"
|
34 |
|
35 |
others = '''**Step 1**. Select "Crop size" and click "Crop it". ==> The foreground object is centered and resized. </br>'''
|