Python
New command parameters to prefill UI and configuration options
DeepBeepMeep938a31f6e09e
diff --git a/README.md b/README.mdindex af532a1..0fec5ac 100644--- a/README.md+++ b/README.md@@ -19,6 +19,7 @@ In this repository, we present **Wan2.1**, a comprehensive and open suite of vid## π₯ Latest News!!+* Mar 18 2022: π Wan2.1GP v2.11: Added more command line parameters to prefill the generation settings + customizable output directory and choice of type of metadata for generated videos. Many thanks to Tophness for his contributions. You will need one more *pip install -r requirements.txt* to reflect new dependencies\* Mar 18 2022: π Wan2.1GP v2.1: More Loras !: added support for 'Safetensors' and 'Replicate' Lora formats.\You will need to refresh the requirements with a *pip install -r requirements.txt** Mar 17 2022: π Wan2.1GP v2.0: The Lora festival continues:@@ -242,6 +243,9 @@ You can define multiple lines of macros. If there is only one macro line, the ap--seed no : set default seed value\--frames no : set the default number of frames to generate\--steps no : set the default number of denoising steps\+--res resolution : default resolution, choices=["480p", "720p", "823p", "1024p", "1280p"]\+--teacache speed multiplier: Tea cache speed multiplier, choices=["0", "1.5", "1.75", "2.0", "2.25", "2.5"]\+--slg : turn on skip layer guidance for improved quality\--check-loras : filter loras that are incompatible (will take a few seconds while refreshing the lora list or while starting the app)\--advanced : turn on the advanced mode while launching the appdiff --git a/gradio_server.py b/gradio_server.pyindex b775c75..ff9c4db 100644--- a/gradio_server.py+++ b/gradio_server.py@@ -236,7 +236,7 @@ def _parse_args():)parser.add_argument(- "--skip-guidance",+ "--slg",action="store_true",help="Enable skip guidance")@@ -1982,7 +1982,7 @@ def create_demo():("OFF", 0),("ON", 1),],- value= 1 if args.skip_guidance else 0,+ value= 1 if args.slg else 0,visible=True,scale = 1,label="Skip Layer guidance"