bstraehle commited on
Commit
48b3044
·
1 Parent(s): 8a80752

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -24,12 +24,11 @@ def invoke(openai_api_key, youtube_url, prompt):
24
  ###
25
  return retrieval
26
 
27
- description = """The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data.\n\n
28
- Enter an OpenAI API key, YouTube URL, and prompt - search the video, analyse its sentiment, summarize it, translate it, etc.\n\n
29
  <a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://platform.openai.com/'>OpenAI</a> API
30
- with <a href='https://openai.com/research/whisper'>Whisper</a> (speech to text) and
31
- <a href='https://openai.com/research/gpt-4'>GPT-4</a> (LLM use cases) foundation models
32
- via AI-first toolkit <a href='https://www.langchain.com/'>LangChain</a>."""
33
 
34
  gr.close_all()
35
  demo = gr.Interface(fn=invoke,
 
24
  ###
25
  return retrieval
26
 
27
+ description = """The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data.
28
+ Enter an OpenAI API key, YouTube URL, and prompt to search the video, analyse its sentiment, summarize it, translate it, etc.
29
  <a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://platform.openai.com/'>OpenAI</a> API
30
+ with foundation models <a href='https://openai.com/research/whisper'>Whisper</a> (speech to text) and
31
+ <a href='https://openai.com/research/gpt-4'>GPT-4</a> (LLM use cases) via AI-first toolkit <a href='https://www.langchain.com/'>LangChain</a>."""
 
32
 
33
  gr.close_all()
34
  demo = gr.Interface(fn=invoke,