bstraehle commited on
Commit
c5fa73d
·
1 Parent(s): 8f52dd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def invoke(openai_api_key, youtube_url, process_video, prompt):
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. To ask multiple questions related to the same video, set "Process Video" to "True" on the first run and then to "False".
54
  The example is a 3:12 min. video about GPT-4 and takes less than 30 sec. to process. Experiment with different prompts, for example "what is gpt-4,
55
  answer in german" or "write a haiku about gpt-4".\n\n
56
  <strong>Technology:</strong> <a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://platform.openai.com/'>OpenAI</a> API
 
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. To ask multiple questions related to the same video, set "Process Video" to "True" on the first submission and then to "False".
54
  The example is a 3:12 min. video about GPT-4 and takes less than 30 sec. to process. Experiment with different prompts, for example "what is gpt-4,
55
  answer in german" or "write a haiku about gpt-4".\n\n
56
  <strong>Technology:</strong> <a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://platform.openai.com/'>OpenAI</a> API