humbleakh commited on
Commit
63afb67
·
verified ·
1 Parent(s): 1b9f9e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ text_summary = pipeline("summarization", model="sshleifer/distilbart-cnn-12-6",
7
 
8
  # model_path = "C:\\Users\\abdul\\Documents\\genaiproj\\genai\\Models\\models--sshleifer--distilbart-cnn-12-6\\snapshots\\a4f8f3ea906ed274767e9906dbaede7531d660ff"
9
  # text_summary = pipeline("summarization", model=model_path, torch_dtype=torch.bfloat16)
10
-
11
  # text="Google was founded on September 4, 1998, by American computer scientists Larry Page and Sergey Brin while they were PhD students at Stanford University in California. Together, they own about 14% of its publicly listed shares and control 56% of its stockholder voting power through super-voting stock. The company went public via an initial public offering (IPO) in 2004. In 2015, Google was reorganized as a wholly owned subsidiary of Alphabet Inc. Google is Alphabet's largest subsidiary and is a holding company for Alphabet's internet properties and interests. Sundar Pichai was appointed CEO of Google on October 24, 2015, replacing Larry Page, who became the CEO of Alphabet. On December 3, 2019, Pichai also became the CEO of Alphabet."
12
  # print(text_summary(text))
13
  # ..
 
7
 
8
  # model_path = "C:\\Users\\abdul\\Documents\\genaiproj\\genai\\Models\\models--sshleifer--distilbart-cnn-12-6\\snapshots\\a4f8f3ea906ed274767e9906dbaede7531d660ff"
9
  # text_summary = pipeline("summarization", model=model_path, torch_dtype=torch.bfloat16)
10
+ #test
11
  # text="Google was founded on September 4, 1998, by American computer scientists Larry Page and Sergey Brin while they were PhD students at Stanford University in California. Together, they own about 14% of its publicly listed shares and control 56% of its stockholder voting power through super-voting stock. The company went public via an initial public offering (IPO) in 2004. In 2015, Google was reorganized as a wholly owned subsidiary of Alphabet Inc. Google is Alphabet's largest subsidiary and is a holding company for Alphabet's internet properties and interests. Sundar Pichai was appointed CEO of Google on October 24, 2015, replacing Larry Page, who became the CEO of Alphabet. On December 3, 2019, Pichai also became the CEO of Alphabet."
12
  # print(text_summary(text))
13
  # ..