Docfile commited on
Commit
678afc7
ยท
1 Parent(s): b980fd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -34,14 +34,7 @@ embeddings = HuggingFaceEmbeddings(
34
  )
35
  docs = Docs(llm=llm, embeddings=embeddings)
36
 
37
- keyword_search = 'bispecific antibody manufacture'
38
- papers = paperscraper.search_papers(keyword_search, limit=2)
39
- for path,data in papers.items():
40
- try:
41
- docs.add(path,chunk_chars=500)
42
- except ValueError as e:
43
- print('Could not read', path, e)
44
-
45
  answer = docs.query("What manufacturing challenges are unique to bispecific antibodies?")
46
  print(answer)
47
 
 
34
  )
35
  docs = Docs(llm=llm, embeddings=embeddings)
36
 
37
+ docs.add("https://33bbf3d5-c3fe-409d-a723-d22ea129e9a0.usrfiles.com/ugd/33bbf3_a21b940230be4adbb8be48927b9dc92b.pdf",chunk_chars=500)
 
 
 
 
 
 
 
38
  answer = docs.query("What manufacturing challenges are unique to bispecific antibodies?")
39
  print(answer)
40