Skip to content

Commit 71315cd

Browse files
committed
black
1 parent cd2176b commit 71315cd

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

examples/avatar_live.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def on_error(error):
166166
except Exception as e:
167167
print(f"\n❌ Connection failed: {e}")
168168
import traceback
169+
169170
traceback.print_exc()
170171

171172
finally:

examples/video_restyle.py

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,33 +30,20 @@ async def main():
3030
)
3131
parser.add_argument("video", help="Path to input video file")
3232
parser.add_argument(
33-
"--prompt", "-p",
34-
help="Text prompt describing the style (e.g., 'anime style', 'oil painting')"
35-
)
36-
parser.add_argument(
37-
"--reference", "-r",
38-
help="Path to reference image for style transfer"
39-
)
40-
parser.add_argument(
41-
"--output", "-o",
42-
help="Output file path (default: output_restyle.mp4)"
43-
)
44-
parser.add_argument(
45-
"--seed", "-s",
46-
type=int,
47-
help="Random seed for reproducibility"
33+
"--prompt",
34+
"-p",
35+
help="Text prompt describing the style (e.g., 'anime style', 'oil painting')",
4836
)
37+
parser.add_argument("--reference", "-r", help="Path to reference image for style transfer")
38+
parser.add_argument("--output", "-o", help="Output file path (default: output_restyle.mp4)")
39+
parser.add_argument("--seed", "-s", type=int, help="Random seed for reproducibility")
4940
parser.add_argument(
5041
"--enhance",
5142
action="store_true",
5243
default=True,
53-
help="Enhance the prompt (only with --prompt, default: True)"
54-
)
55-
parser.add_argument(
56-
"--no-enhance",
57-
action="store_true",
58-
help="Disable prompt enhancement"
44+
help="Enhance the prompt (only with --prompt, default: True)",
5945
)
46+
parser.add_argument("--no-enhance", action="store_true", help="Disable prompt enhancement")
6047

6148
args = parser.parse_args()
6249

0 commit comments

Comments
 (0)