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