Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def invoke(openai_api_key, youtube_url, process_video, prompt):
|
|
45 |
return result["result"]
|
46 |
|
47 |
description = """<strong>Overview:</strong> The app demonstrates how to use a <strong>Large Language Model</strong> (LLM) with <strong>Retrieval Augmented Generation</strong>
|
48 |
-
(RAG) on external data (YouTube in this case, but could be
|
49 |
<strong>Instructions:</strong> Enter an OpenAI API key, YouTube URL, and prompt to perform semantic search, sentiment analysis, summarization,
|
50 |
translation, etc. "Process Video" specifies whether or not to perform speech-to-text processing. To ask multiple questions related to the same video,
|
51 |
typically set it to "True" the first time and then to "False". Note that persistence is not guaranteed in the Hugging Face free tier
|
|
|
45 |
return result["result"]
|
46 |
|
47 |
description = """<strong>Overview:</strong> The app demonstrates how to use a <strong>Large Language Model</strong> (LLM) with <strong>Retrieval Augmented Generation</strong>
|
48 |
+
(RAG) on external data (YouTube videos in this case, but could be PDFs, URLs, databases, etc.).\n\n
|
49 |
<strong>Instructions:</strong> Enter an OpenAI API key, YouTube URL, and prompt to perform semantic search, sentiment analysis, summarization,
|
50 |
translation, etc. "Process Video" specifies whether or not to perform speech-to-text processing. To ask multiple questions related to the same video,
|
51 |
typically set it to "True" the first time and then to "False". Note that persistence is not guaranteed in the Hugging Face free tier
|