Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -20,10 +20,10 @@ def invoke(url):
|
|
20 |
)
|
21 |
docs = loader.load()
|
22 |
temp = docs[0]
|
23 |
-
docs
|
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."""
|
29 |
|
|
|
20 |
)
|
21 |
docs = loader.load()
|
22 |
temp = docs[0]
|
23 |
+
docs = None
|
24 |
print(url)
|
25 |
print(temp.page_content)
|
26 |
+
return temp.page_content #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."""
|
29 |
|