Spaces:
Sleeping
Sleeping
Commit
•
229c16e
1
Parent(s):
e788959
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,8 @@ from langchain.chains import ConversationalRetrievalChain
|
|
23 |
from langchain.callbacks import get_openai_callback
|
24 |
from langchain import PromptTemplate
|
25 |
from langchain import LLMChain
|
|
|
|
|
26 |
openai_api_key = os.getenv("openai_api_key")
|
27 |
|
28 |
|
|
|
23 |
from langchain.callbacks import get_openai_callback
|
24 |
from langchain import PromptTemplate
|
25 |
from langchain import LLMChain
|
26 |
+
import monkey_patch # OBS: esse arquivo evita um bug frequente do pytube
|
27 |
+
from pytube import YouTube
|
28 |
openai_api_key = os.getenv("openai_api_key")
|
29 |
|
30 |
|