DField commited on
Commit
6637ab9
1 Parent(s): 9bed285

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def extract_text_from_pdf(pdf_path):
59
  # total_token = response.usage.total_tokens
60
  # return summary_text, total_token
61
 
62
- def summarize_text_with_chat(text, max_length=5000):
63
  """GroqのLlama3 70Bを使ってテキストを要約。"""
64
  client = Groq(
65
  api_key=os.environ.get("GROQ_API_KEY"),
 
59
  # total_token = response.usage.total_tokens
60
  # return summary_text, total_token
61
 
62
+ def summarize_text_with_chat(text, max_length=10000):
63
  """GroqのLlama3 70Bを使ってテキストを要約。"""
64
  client = Groq(
65
  api_key=os.environ.get("GROQ_API_KEY"),