Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -109,6 +109,7 @@ def llm_one_sentence(structured: Dict[str, Any]) -> str:
|
|
| 109 |
|
| 110 |
user_msg = f"JSON:
|
| 111 |
{json.dumps(payload, indent=2)}
|
|
|
|
| 112 |
Produce the single sentence as specified."
|
| 113 |
|
| 114 |
# ✅ Use the tokenizer's chat template
|
|
|
|
| 109 |
|
| 110 |
user_msg = f"JSON:
|
| 111 |
{json.dumps(payload, indent=2)}
|
| 112 |
+
|
| 113 |
Produce the single sentence as specified."
|
| 114 |
|
| 115 |
# ✅ Use the tokenizer's chat template
|