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 <strong>Large Language Model</strong> (LLM) with <strong>Retrieval Augmented Generation</strong>
|
51 |
-
(RAG) on external data (YouTube videos in this case, but could be PDFs, URLs, databases, etc.)\n\n
|
52 |
<strong>Instructions:</strong> Enter an OpenAI API key, YouTube URL, and prompt to perform semantic search, sentiment analysis, summarization,
|
53 |
translation, etc. "Process Video" specifies whether or not to perform speech-to-text processing. To ask multiple questions related to the same video,
|
54 |
typically set it to "True" the first run and then to "False". The example is a 3:12 min. video about GPT-4 and takes less than 30 sec. to process.
|
|
|
48 |
return result["result"]
|
49 |
|
50 |
description = """<strong>Overview:</strong> The app demonstrates how to use a <strong>Large Language Model</strong> (LLM) with <strong>Retrieval Augmented Generation</strong>
|
51 |
+
(RAG) on external data (YouTube videos in this case, but it could be PDFs, URLs, databases, etc.)\n\n
|
52 |
<strong>Instructions:</strong> Enter an OpenAI API key, YouTube URL, and prompt to perform semantic search, sentiment analysis, summarization,
|
53 |
translation, etc. "Process Video" specifies whether or not to perform speech-to-text processing. To ask multiple questions related to the same video,
|
54 |
typically set it to "True" the first run and then to "False". The example is a 3:12 min. video about GPT-4 and takes less than 30 sec. to process.
|