Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ def wrap_text_preserve_newlines(text, width=110):
|
|
| 90 |
|
| 91 |
max_length = 1000
|
| 92 |
text_splitter = CharacterTextSplitter(chunk_size=max_length, chunk_overlap=10)
|
| 93 |
-
docs = text_splitter.split_documents(
|
| 94 |
|
| 95 |
model_name = "decapoda-research/llama-7b-hf"
|
| 96 |
model_name = "gpt-3.5-turbo"
|
|
|
|
| 90 |
|
| 91 |
max_length = 1000
|
| 92 |
text_splitter = CharacterTextSplitter(chunk_size=max_length, chunk_overlap=10)
|
| 93 |
+
docs = text_splitter.split_documents(url_documents)
|
| 94 |
|
| 95 |
model_name = "decapoda-research/llama-7b-hf"
|
| 96 |
model_name = "gpt-3.5-turbo"
|