catalinmoisan commited on
Commit
bee492c
·
verified ·
1 Parent(s): de18be9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def generate(pdf_file):
40
  text = extract_pdf(pdf_file)
41
 
42
  # 🔹 IMPORTANT: limitează contextul
43
- text = text[:3000]
44
 
45
  prompt = f"""
46
  Generate a conversation between an anchor and an author based ONLY on the article below.
 
40
  text = extract_pdf(pdf_file)
41
 
42
  # 🔹 IMPORTANT: limitează contextul
43
+ text = text[:1500]
44
 
45
  prompt = f"""
46
  Generate a conversation between an anchor and an author based ONLY on the article below.