mmitch25 commited on
Commit
2b8b5e7
·
1 Parent(s): 21a68c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -23,8 +23,7 @@ from langchain.text_splitter import CharacterTextSplitter
23
 
24
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0, separator = "\n")
25
  texts = text_splitter.split_text(hitchhikersguide)
26
- print(texts)
27
- """
28
  from langchain.embeddings.openai import OpenAIEmbeddings
29
 
30
  embeddings = OpenAIEmbeddings()
@@ -51,4 +50,3 @@ gr.Interface(
51
  outputs="text",
52
  title="Hitchhikers Guide Question Answering",
53
  ).launch()
54
- """
 
23
 
24
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0, separator = "\n")
25
  texts = text_splitter.split_text(hitchhikersguide)
26
+
 
27
  from langchain.embeddings.openai import OpenAIEmbeddings
28
 
29
  embeddings = OpenAIEmbeddings()
 
50
  outputs="text",
51
  title="Hitchhikers Guide Question Answering",
52
  ).launch()