Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def invoke(url):
|
|
18 |
OpenAIWhisperParser()
|
19 |
)
|
20 |
docs = loader.load()
|
21 |
-
print(
|
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."""
|
|
|
18 |
OpenAIWhisperParser()
|
19 |
)
|
20 |
docs = loader.load()
|
21 |
+
print(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."""
|