Update app.py
Browse files
app.py
CHANGED
|
@@ -112,7 +112,8 @@ def load_models():
|
|
| 112 |
|
| 113 |
# トランスフォーマーモデル
|
| 114 |
transformer = HunyuanVideoTransformer3DModelPacked.from_pretrained(
|
| 115 |
-
'
|
|
|
|
| 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]
|