mlara commited on
Commit
2a7bc85
1 Parent(s): 04362a1
Files changed (2) hide show
  1. app.py +1 -1
  2. roaringkitty.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ async def main(message):
79
  visited_sources.add(source)
80
  # Create the text element referenced in the message
81
  source_elements.append(
82
- cl.Text(content="https://www.youtube.com/watch?" + source, name="Link to Video")
83
  )
84
 
85
  if source_elements:
 
79
  visited_sources.add(source)
80
  # Create the text element referenced in the message
81
  source_elements.append(
82
+ cl.Text(content="https://www.youtube.com/watch?GZTr1-Gp74U&ab_channel=RoaringKitty at T=" + source, name="Time in Video")
83
  )
84
 
85
  if source_elements:
roaringkitty.py CHANGED
@@ -12,7 +12,7 @@ text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=10
12
 
13
  async def roaringkiity_chain(prompt: str):
14
  # build FAISS index from csv
15
- loader = CSVLoader(file_path="./data/roaringkitty.csv", source_column="Link")
16
  data = loader.load()
17
  documents = text_splitter.transform_documents(data)
18
  store = LocalFileStore("./cache/")
 
12
 
13
  async def roaringkiity_chain(prompt: str):
14
  # build FAISS index from csv
15
+ loader = CSVLoader(file_path="./data/roaringkitty.csv", source_column="Time")
16
  data = loader.load()
17
  documents = text_splitter.transform_documents(data)
18
  store = LocalFileStore("./cache/")