Sergidev commited on
Commit
9e5c77b
·
verified ·
1 Parent(s): 7b7a9c0

Release

Files changed (1) hide show
  1. demo_app.py +5 -5
demo_app.py CHANGED
@@ -95,7 +95,7 @@ def apply_preset(preset_name, *current_values):
95
  if preset_name == "Higher Resolution":
96
  return [608, 448, 24, 29, 12]
97
  elif preset_name == "More Frames":
98
- return [512, 320, 42, 30, 14]
99
  return current_values
100
 
101
  css = """
@@ -169,10 +169,10 @@ a:hover {
169
 
170
  with gr.Blocks(css=css, theme="dark") as demo:
171
  with gr.Column(elem_id="col-container"):
172
- gr.Markdown("# 🎬 Anime TTV", elem_classes=["title"])
173
  gr.Markdown(
174
- """Transform your text descriptions into anime-style videos using state-of-the-art AI technology.
175
- This space uses the HunyuanVideo model to generate high-quality animated sequences.
176
 
177
  If you find this useful, please consider giving the space a ❤️ and supporting me on [Ko-Fi](https://ko-fi.com/sergidev)!""",
178
  elem_classes=["description"]
@@ -181,7 +181,7 @@ with gr.Blocks(css=css, theme="dark") as demo:
181
  with gr.Column(elem_classes=["prompt-container"]):
182
  prompt = gr.Textbox(
183
  label="Prompt",
184
- placeholder="Enter your prompt here (e.g., 'a cute anime girl walking in a garden')",
185
  show_label=False,
186
  elem_classes=["prompt-textbox"],
187
  lines=3
 
95
  if preset_name == "Higher Resolution":
96
  return [608, 448, 24, 29, 12]
97
  elif preset_name == "More Frames":
98
+ return [512, 320, 42, 27, 14]
99
  return current_values
100
 
101
  css = """
 
169
 
170
  with gr.Blocks(css=css, theme="dark") as demo:
171
  with gr.Column(elem_id="col-container"):
172
+ gr.Markdown("# 🎬 Illustration TTV", elem_classes=["title"])
173
  gr.Markdown(
174
+ """Transform your text descriptions into illustrative videos using HunyuanVideo for free!
175
+ This space uses the 'hunyuan flat color v2' LORA by Motimalu to generate better 2d animated sequences. Prompt only handles 77 tokens.
176
 
177
  If you find this useful, please consider giving the space a ❤️ and supporting me on [Ko-Fi](https://ko-fi.com/sergidev)!""",
178
  elem_classes=["description"]
 
181
  with gr.Column(elem_classes=["prompt-container"]):
182
  prompt = gr.Textbox(
183
  label="Prompt",
184
+ placeholder="Enter your prompt here (Include the terms 'flat color, no lineart, blending' for 2d illustration)",
185
  show_label=False,
186
  elem_classes=["prompt-textbox"],
187
  lines=3