Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def invoke(openai_api_key, use_rag, prompt):
|
|
45 |
openai_api_key = openai_api_key,
|
46 |
temperature = 0)
|
47 |
if (use_rag):
|
48 |
-
|
49 |
loader = GenericLoader(YoutubeAudioLoader([YOUTUBE_URL_01,
|
50 |
YOUTUBE_URL_02,
|
51 |
YOUTUBE_URL_03,
|
|
|
45 |
openai_api_key = openai_api_key,
|
46 |
temperature = 0)
|
47 |
if (use_rag):
|
48 |
+
# Document loading, splitting, and storage
|
49 |
loader = GenericLoader(YoutubeAudioLoader([YOUTUBE_URL_01,
|
50 |
YOUTUBE_URL_02,
|
51 |
YOUTUBE_URL_03,
|