Update app.py
Browse files
app.py
CHANGED
@@ -22,9 +22,7 @@ def invoke(url):
|
|
22 |
temp = docs[0]
|
23 |
docs[0] = None
|
24 |
print(url)
|
25 |
-
print(
|
26 |
-
if (len(docs) > 0):
|
27 |
-
print(docs[1].page_content)
|
28 |
return temp #docs[0].page_content
|
29 |
|
30 |
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."""
|
|
|
22 |
temp = docs[0]
|
23 |
docs[0] = None
|
24 |
print(url)
|
25 |
+
print(temp.page_content)
|
|
|
|
|
26 |
return temp #docs[0].page_content
|
27 |
|
28 |
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."""
|