Rehman1603 commited on
Commit
552d9ba
·
verified ·
1 Parent(s): d675c37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -8,6 +8,15 @@ from langchain import LLMChain
8
  from langchain_together import Together
9
  import re
10
  import json
 
 
 
 
 
 
 
 
 
11
 
12
  def Summary_BART(text):
13
  checkpoint = "sshleifer/distilbart-cnn-12-6"
 
8
  from langchain_together import Together
9
  import re
10
  import json
11
+ import os
12
+
13
+ # Set the API key with double quotes
14
+ os.environ['TOGETHER_API_KEY'] = "d88cb7414e4039a84d2ed63f1b47daaaa4230c4c53a422045d8a30a9a3bc87d8"
15
+
16
+
17
+
18
+
19
+
20
 
21
  def Summary_BART(text):
22
  checkpoint = "sshleifer/distilbart-cnn-12-6"