Spaces:
Running
on
T4
Running
on
T4
PKUWilliamYang
commited on
Commit
•
bd04a87
1
Parent(s):
13706ea
Update app.py
Browse files
app.py
CHANGED
@@ -115,11 +115,11 @@ def main():
|
|
115 |
|
116 |
with gr.Box():
|
117 |
gr.Markdown('''## Step 2 (Preprocess Input Image / Video)
|
118 |
-
- Drop an image/video containing a near-frontal face to the **Input Image**/**Input Video
|
119 |
- If there are multiple faces, hit the Edit button in the upper right corner and crop the source beforehand.
|
120 |
-
- Hit the **Rescale Image
|
121 |
-
-
|
122 |
-
- Use padding parameters to adjust the background space.
|
123 |
- For video input, further hit the **Rescale Video** button.
|
124 |
- The final video result will be based on this **Rescaled Video**.
|
125 |
|
|
|
115 |
|
116 |
with gr.Box():
|
117 |
gr.Markdown('''## Step 2 (Preprocess Input Image / Video)
|
118 |
+
- Drop an image/video containing a near-frontal face to the **Input Image**/**Input Video**.
|
119 |
- If there are multiple faces, hit the Edit button in the upper right corner and crop the source beforehand.
|
120 |
+
- Hit the **Rescale Image**/**Rescale First Frame** button.
|
121 |
+
- Rescale the input to make it best fit the model.
|
122 |
+
- The final image result will be based on this **Rescaled Face**. Use padding parameters to adjust the background space.
|
123 |
- For video input, further hit the **Rescale Video** button.
|
124 |
- The final video result will be based on this **Rescaled Video**.
|
125 |
|