Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def invoke(openai_api_key, youtube_url, process_video, prompt):
|
|
48 |
return result["result"]
|
49 |
|
50 |
description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
|
51 |
-
(
|
52 |
<a href='https://raw.githubusercontent.com/bstraehle/ai-ml-dl/c38b224c196fc984aab6b6cc6bdc666f8f4fbcff/langchain/document-loaders.png'>data sources</a>).\n\n
|
53 |
<strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases on a YouTube video (semantic search, sentiment analysis, summarization,
|
54 |
translation, etc.) The example is a short video about GPT-4.
|
|
|
48 |
return result["result"]
|
49 |
|
50 |
description = """<strong>Overview:</strong> The app demonstrates how to use a Large Language Model (LLM) with Retrieval Augmented Generation (RAG) on external data
|
51 |
+
(in this case YouTube videos, but it could be PDFs, URLs, or other structured/unstructured private/public
|
52 |
<a href='https://raw.githubusercontent.com/bstraehle/ai-ml-dl/c38b224c196fc984aab6b6cc6bdc666f8f4fbcff/langchain/document-loaders.png'>data sources</a>).\n\n
|
53 |
<strong>Instructions:</strong> Enter an OpenAI API key and perform LLM use cases on a YouTube video (semantic search, sentiment analysis, summarization,
|
54 |
translation, etc.) The example is a short video about GPT-4.
|