Julian Bilcke
commited on
Commit
·
7bc8667
1
Parent(s):
7335be0
update
Browse files
app.py
CHANGED
|
@@ -84,6 +84,11 @@ def create_args():
|
|
| 84 |
args.reproduce = False
|
| 85 |
args.load_key = "module"
|
| 86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
return args
|
| 88 |
|
| 89 |
logger.info("Initializing Hunyuan-GameCraft model...")
|
|
|
|
| 84 |
args.reproduce = False
|
| 85 |
args.load_key = "module"
|
| 86 |
|
| 87 |
+
# Add missing text encoder related attributes
|
| 88 |
+
args.text_projection = "single_refiner"
|
| 89 |
+
args.text_states_dim = 4096
|
| 90 |
+
args.text_states_dim_2 = 768
|
| 91 |
+
|
| 92 |
return args
|
| 93 |
|
| 94 |
logger.info("Initializing Hunyuan-GameCraft model...")
|