stephenmccartney1234 commited on
Commit
6d102af
·
verified ·
1 Parent(s): 02d2c5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -7,11 +7,11 @@ os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
7
 
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(
 
7
 
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(