lchakkei commited on
Commit
fb06509
·
verified ·
1 Parent(s): d6ab5af

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +7 -1
handler.py CHANGED
@@ -59,7 +59,7 @@ class EndpointHandler():
59
 
60
  model_kwargs = {
61
  "temperature": 0.5,
62
- "max_length": 512
63
  }
64
 
65
  tokenizer = AutoTokenizer.from_pretrained(
@@ -79,6 +79,12 @@ class EndpointHandler():
79
 
80
  # Load Vector db
81
  urls = [
 
 
 
 
 
 
82
  "https://muzea.malopolska.pl/en/objects-list/1174",
83
  "https://www.spurlock.illinois.edu/exhibits/online/mummification/artifacts5.html",
84
  "https://art.thewalters.org/detail/29816/mummy-mask-of-a-high-official/"
 
59
 
60
  model_kwargs = {
61
  "temperature": 0.5,
62
+ "max_length": 1024
63
  }
64
 
65
  tokenizer = AutoTokenizer.from_pretrained(
 
79
 
80
  # Load Vector db
81
  urls = [
82
+ "https://scholars.cityu.edu.hk/en/persons/man-hon-michael-cheung(0f913a96-a28d-47ea-848c-f444804c16f2).html",
83
+ "https://scholars.cityu.edu.hk/en/persons/man-hon-michael-cheung(0f913a96-a28d-47ea-848c-f444804c16f2)/publications.html",
84
+ "https://www.cityu.edu.hk/stfprofile/cshwong.htm",
85
+ "https://www.cs.cityu.edu.hk/~helena/",
86
+ "https://www.cityu.edu.hk/media/press-release/2022/05/17/cityu-council-announces-appointment-professor-freddy-boey-next-president",
87
+ "https://www.cityu.edu.hk/media/press-release/2023/05/18/professor-freddy-boey-installed-5th-president-cityu",
88
  "https://muzea.malopolska.pl/en/objects-list/1174",
89
  "https://www.spurlock.illinois.edu/exhibits/online/mummification/artifacts5.html",
90
  "https://art.thewalters.org/detail/29816/mummy-mask-of-a-high-official/"