Spaces:
Runtime error
Runtime error
Update app.py
Browse files15 unmodified lines1617181920212215 unmodified lines# Load and process the text files# loader = TextLoader('single_text_file.txt')#loader = DirectoryLoader('./new_articles/', glob="./*.txt", loader_cls=TextLoader)loader = DirectoryLoader('./new_articles(1)/', glob="./*.txt", loader_cls=TextLoader, show_progress=True)documents = loader.load()#splitting the text into15 unmodified lines1617181920212215 unmodified lines# Load and process the text files# loader = TextLoader('single_text_file.txt')#loader = DirectoryLoader('./new_articles/', glob="./*.txt", loader_cls=TextLoader)loader = DirectoryLoader('./new_articles (1)/', glob="./*.txt", loader_cls=TextLoader, show_progress=True)documents = loader.load()#splitting the text into
app.py+1-1