bstraehle commited on
Commit
623b35b
·
1 Parent(s): 6b6cd79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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) > 1):
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