DeepBeepMeep commited on
Commit ·
3bac8f7
1
Parent(s): 61eab8e
improved compatibility with former settings
Browse files- gradio_server.py +4 -1
gradio_server.py
CHANGED
|
@@ -2566,6 +2566,8 @@ def generate_video_tab(image2video=False):
|
|
| 2566 |
remove_background_image_ref = gr.Text(visible = False)
|
| 2567 |
else:
|
| 2568 |
image_prompt_type= ui_defaults.get("image_prompt_type","I")
|
|
|
|
|
|
|
| 2569 |
image_prompt_type_radio = gr.Radio( [("Use Images Ref", "I"),("a Video", "V"), ("Images + a Video", "IV"), ("Video + Video Mask", "VM"), ("Images + Video + Mask", "IVM")], value =image_prompt_type, label="Location", show_label= False, scale= 3, visible = vace_model)
|
| 2570 |
image_source1 = gr.Gallery(
|
| 2571 |
label="Reference Images of Faces and / or Object to be found in the Video", type ="pil",
|
|
@@ -3195,9 +3197,10 @@ def generate_about_tab():
|
|
| 3195 |
gr.Markdown("<H2>Wan2.1GP - Wan 2.1 model for the GPU Poor by <B>DeepBeepMeep</B> (<A HREF='https://github.com/deepbeepmeep/Wan2GP'>GitHub</A>)</H2>")
|
| 3196 |
gr.Markdown("Original Wan 2.1 Model by <B>Alibaba</B> (<A HREF='https://github.com/Wan-Video/Wan2.1'>GitHub</A>)")
|
| 3197 |
gr.Markdown("Many thanks to:")
|
|
|
|
| 3198 |
gr.Markdown("- <B>Cocktail Peanuts</B> : QA and simple installation via Pinokio.computer")
|
|
|
|
| 3199 |
gr.Markdown("- <B>AmericanPresidentJimmyCarter</B> : added original support for Skip Layer Guidance")
|
| 3200 |
-
gr.Markdown("- <B>Tophness</B> : created multi tabs framework")
|
| 3201 |
gr.Markdown("- <B>Remade_AI</B> : for creating their awesome Loras collection")
|
| 3202 |
|
| 3203 |
|
|
|
|
| 2566 |
remove_background_image_ref = gr.Text(visible = False)
|
| 2567 |
else:
|
| 2568 |
image_prompt_type= ui_defaults.get("image_prompt_type","I")
|
| 2569 |
+
if not isinstance(image_prompt_type, str):
|
| 2570 |
+
image_prompt_type ="I"
|
| 2571 |
image_prompt_type_radio = gr.Radio( [("Use Images Ref", "I"),("a Video", "V"), ("Images + a Video", "IV"), ("Video + Video Mask", "VM"), ("Images + Video + Mask", "IVM")], value =image_prompt_type, label="Location", show_label= False, scale= 3, visible = vace_model)
|
| 2572 |
image_source1 = gr.Gallery(
|
| 2573 |
label="Reference Images of Faces and / or Object to be found in the Video", type ="pil",
|
|
|
|
| 3197 |
gr.Markdown("<H2>Wan2.1GP - Wan 2.1 model for the GPU Poor by <B>DeepBeepMeep</B> (<A HREF='https://github.com/deepbeepmeep/Wan2GP'>GitHub</A>)</H2>")
|
| 3198 |
gr.Markdown("Original Wan 2.1 Model by <B>Alibaba</B> (<A HREF='https://github.com/Wan-Video/Wan2.1'>GitHub</A>)")
|
| 3199 |
gr.Markdown("Many thanks to:")
|
| 3200 |
+
gr.Markdown("- <B>Alibaba Wan team for the best open source video generator")
|
| 3201 |
gr.Markdown("- <B>Cocktail Peanuts</B> : QA and simple installation via Pinokio.computer")
|
| 3202 |
+
gr.Markdown("- <B>Tophness</B> : created multi tabs and queuing frameworks")
|
| 3203 |
gr.Markdown("- <B>AmericanPresidentJimmyCarter</B> : added original support for Skip Layer Guidance")
|
|
|
|
| 3204 |
gr.Markdown("- <B>Remade_AI</B> : for creating their awesome Loras collection")
|
| 3205 |
|
| 3206 |
|