KingNish commited on
Commit
08339e8
·
verified ·
1 Parent(s): 431526e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,8 +75,8 @@ def read_document(file):
75
 
76
  def chat_document(file, question):
77
  content = str(read_document(file))
78
- if len(content) > 128000:
79
- content = content[:128000]
80
 
81
 
82
  # Define system prompt for the chat API
 
75
 
76
  def chat_document(file, question):
77
  content = str(read_document(file))
78
+ if len(content) > 64000:
79
+ content = content[:64000]
80
 
81
 
82
  # Define system prompt for the chat API