shikharyashmaurya
commited on
Commit
•
e672f4a
1
Parent(s):
d03c658
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,9 @@ import google.generativeai as genai
|
|
5 |
|
6 |
from youtube_transcript_api import YouTubeTranscriptApi
|
7 |
|
8 |
-
|
9 |
-
|
|
|
10 |
|
11 |
prompt="""You are Yotube video summarizer. You will be taking the transcript text
|
12 |
and summarizing the entire video and providing the important summary in points
|
|
|
5 |
|
6 |
from youtube_transcript_api import YouTubeTranscriptApi
|
7 |
|
8 |
+
secret_key = os.getenv("SECRET_KEY")
|
9 |
+
|
10 |
+
genai.configure(api_key=secret_key)
|
11 |
|
12 |
prompt="""You are Yotube video summarizer. You will be taking the transcript text
|
13 |
and summarizing the entire video and providing the important summary in points
|