bstraehle commited on
Commit
bef0bbf
·
1 Parent(s): bcfa9e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def invoke(url):
17
  YoutubeAudioLoader([url], save_dir),
18
  OpenAIWhisperParser()
19
  )
20
- docs = await loader.load()
21
  return docs.page_content
22
 
23
  description = """<a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://platform.openai.com/'>OpenAI</a> API with Whisper 1 foundation model."""
 
17
  YoutubeAudioLoader([url], save_dir),
18
  OpenAIWhisperParser()
19
  )
20
+ docs = loader.load()
21
  return docs.page_content
22
 
23
  description = """<a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://platform.openai.com/'>OpenAI</a> API with Whisper 1 foundation model."""