Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ openai.api_key = os.environ["OPENAI_API_KEY"]
|
|
13 |
def invoke(url):
|
14 |
loader = None
|
15 |
url = url
|
16 |
-
save_dir = "docs/youtube
|
17 |
loader = GenericLoader(
|
18 |
YoutubeAudioLoader([url], save_dir),
|
19 |
OpenAIWhisperParser()
|
|
|
13 |
def invoke(url):
|
14 |
loader = None
|
15 |
url = url
|
16 |
+
save_dir = "/docs/youtube"
|
17 |
loader = GenericLoader(
|
18 |
YoutubeAudioLoader([url], save_dir),
|
19 |
OpenAIWhisperParser()
|