Update app.py
Browse files
app.py
CHANGED
@@ -118,10 +118,10 @@ def transcribe(audio):
|
|
118 |
text = p(audio)["text"]
|
119 |
return text
|
120 |
def construct_index(directory_path):
|
121 |
-
max_input_size =
|
122 |
-
num_outputs =
|
123 |
-
max_chunk_overlap =
|
124 |
-
chunk_size_limit =
|
125 |
|
126 |
prompt_helper = PromptHelper(max_input_size, num_outputs, max_chunk_overlap, chunk_size_limit=chunk_size_limit)
|
127 |
|
|
|
118 |
text = p(audio)["text"]
|
119 |
return text
|
120 |
def construct_index(directory_path):
|
121 |
+
max_input_size = 100000000
|
122 |
+
num_outputs = 1000000000
|
123 |
+
max_chunk_overlap = 200000000
|
124 |
+
chunk_size_limit = 6000000000
|
125 |
|
126 |
prompt_helper = PromptHelper(max_input_size, num_outputs, max_chunk_overlap, chunk_size_limit=chunk_size_limit)
|
127 |
|