Update app.py
Browse files
app.py
CHANGED
@@ -25,10 +25,10 @@ def invoke(openai_api_key, youtube_url, prompt):
|
|
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
|
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>
|
31 |
-
|
32 |
via AI-first toolkit <a href='https://www.langchain.com/'>LangChain</a>."""
|
33 |
|
34 |
gr.close_all()
|
|
|
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()
|