Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def invoke(openai_api_key, youtube_url, prompt):
|
|
40 |
print(2)
|
41 |
result = qa_chain({"query": prompt})
|
42 |
shutil.rmtree(youtube_dir)
|
43 |
-
|
44 |
return result["result"]
|
45 |
|
46 |
description = """The app demonstrates how to use a <strong>Large Language Model</strong> (LLM) with <strong>Retrieval Augmented Generation</strong> (RAG) on external data.
|
|
|
40 |
print(2)
|
41 |
result = qa_chain({"query": prompt})
|
42 |
shutil.rmtree(youtube_dir)
|
43 |
+
#shutil.rmtree(chroma_dir)
|
44 |
return result["result"]
|
45 |
|
46 |
description = """The app demonstrates how to use a <strong>Large Language Model</strong> (LLM) with <strong>Retrieval Augmented Generation</strong> (RAG) on external data.
|