bstraehle commited on
Commit
4674bfc
·
1 Parent(s): 72642b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def invoke(url):
19
  )
20
  docs = loader.load()
21
  print(len(docs))
22
- return docs[len(docs) - 1].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
 
 
19
  )
20
  docs = loader.load()
21
  print(len(docs))
22
+ return docs[len(docs) - 1].page_content[0:500]
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