Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def extract_text(pdf_file):
|
|
| 44 |
print(f"Extracted {len(text)} characters")
|
| 45 |
|
| 46 |
# Keep small for free-tier inference
|
| 47 |
-
return text[:
|
| 48 |
|
| 49 |
|
| 50 |
def build_prompt(policy_text):
|
|
|
|
| 44 |
print(f"Extracted {len(text)} characters")
|
| 45 |
|
| 46 |
# Keep small for free-tier inference
|
| 47 |
+
return text[:1000]
|
| 48 |
|
| 49 |
|
| 50 |
def build_prompt(policy_text):
|