bstraehle commited on
Commit
834382a
·
1 Parent(s): 68e27de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,10 +20,10 @@ def invoke(url):
20
  )
21
  docs = loader.load()
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."""
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