tori29umai commited on
Commit
0488595
·
verified ·
1 Parent(s): 438653e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -112,7 +112,8 @@ def load_models():
112
 
113
  # トランスフォーマーモデル
114
  transformer = HunyuanVideoTransformer3DModelPacked.from_pretrained(
115
- 'from diffusers_helper.hf_login import login # Hugging Face ログイン
 
116
 
117
  import os
118
  import threading
@@ -645,10 +646,10 @@ with block:
645
  )
646
  prompt = gr.Textbox(
647
  label='プロンプト',
648
- placeholder='例: 美しい風景を背景に踊る人々。'
649
  )
650
  quick = gr.Dataset(
651
- samples=[['少女が優雅に踊る、動きがはっきりと分かる。'], ['キャラクターが簡単な体の動きをしている。']],
652
  label='クイックプロンプト',
653
  samples_per_page=10,
654
  components=[prompt]
 
112
 
113
  # トランスフォーマーモデル
114
  transformer = HunyuanVideoTransformer3DModelPacked.from_pretrained(
115
+ 'tori29umai/FramePackI2V_HY_rotate_landscape', torch_dtype=transformer_dtype
116
+ ).to('cpu')
117
 
118
  import os
119
  import threading
 
646
  )
647
  prompt = gr.Textbox(
648
  label='プロンプト',
649
+ placeholder='The camera smoothly orbits around the center of the scene, keeping the center point fixed and always in view'
650
  )
651
  quick = gr.Dataset(
652
+ samples=[['The camera smoothly orbits around the center of the scene, keeping the center point fixed and always in view']],
653
  label='クイックプロンプト',
654
  samples_per_page=10,
655
  components=[prompt]