Spaces:
Sleeping
Sleeping
Auto commit at 22-2025-08 15:01:15
Browse files- lily_llm_api/app_v2.py +2 -2
lily_llm_api/app_v2.py
CHANGED
|
@@ -859,8 +859,8 @@ def generate_sync(prompt: str, image_data_list: Optional[List[bytes]], max_lengt
|
|
| 859 |
'attention_mask': attention_mask
|
| 860 |
}
|
| 861 |
# token_type_ids가 있다면 제거
|
| 862 |
-
if 'token_type_ids' in locals() and token_type_ids is not None:
|
| 863 |
-
|
| 864 |
|
| 865 |
generated_ids = lora_model.generate(
|
| 866 |
**lora_inputs,
|
|
|
|
| 859 |
'attention_mask': attention_mask
|
| 860 |
}
|
| 861 |
# token_type_ids가 있다면 제거
|
| 862 |
+
# if 'token_type_ids' in locals() and token_type_ids is not None:
|
| 863 |
+
# print(f"🔍 [DEBUG] token_type_ids 제거됨 (LoRA 모델 호환성)")
|
| 864 |
|
| 865 |
generated_ids = lora_model.generate(
|
| 866 |
**lora_inputs,
|