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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,8 @@ def invoke(url):
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."""
24
 
 
18
  OpenAIWhisperParser()
19
  )
20
  docs = loader.load()
21
+ print("###length docs="+len(docs))
22
+ return docs[0].page_content
23
 
24
  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."""
25