stephenmccartney1234 commited on
Commit
0c0581c
·
verified ·
1 Parent(s): 6d102af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -8,10 +8,10 @@ os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
8
  def construct_index(directory_path):
9
  # Your existing code for index construction remains unchanged
10
  def construct_index(directory_path):
11
- max_input_size = 4096
12
- num_outputs = 512
13
- max_chunk_overlap = 20
14
- chunk_size_limit = 600
15
 
16
  def chatbot(input_text):
17
  response = openai.Completion.create(
 
8
  def construct_index(directory_path):
9
  # Your existing code for index construction remains unchanged
10
  def construct_index(directory_path):
11
+ max_input_size = 4096
12
+ num_outputs = 512
13
+ max_chunk_overlap = 20
14
+ chunk_size_limit = 600
15
 
16
  def chatbot(input_text):
17
  response = openai.Completion.create(