Spaces:
Runtime error
Runtime error
new youtube loader
Browse files- app.py +0 -1
- requirements.txt +97 -1
app.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from langchain_groq import ChatGroq
|
| 3 |
-
from youtube_transcript_api import YouTubeTranscriptApi
|
| 4 |
from langchain_core.prompts import ChatPromptTemplate
|
| 5 |
from langchain_core.output_parsers import StrOutputParser
|
| 6 |
import os
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from langchain_groq import ChatGroq
|
|
|
|
| 3 |
from langchain_core.prompts import ChatPromptTemplate
|
| 4 |
from langchain_core.output_parsers import StrOutputParser
|
| 5 |
import os
|
requirements.txt
CHANGED
|
@@ -1,14 +1,38 @@
|
|
| 1 |
aiofiles==23.2.1
|
|
|
|
|
|
|
|
|
|
| 2 |
annotated-types==0.7.0
|
| 3 |
anyio==4.6.2.post1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
certifi==2024.8.30
|
|
|
|
| 5 |
charset-normalizer==3.4.0
|
| 6 |
click==8.1.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
distro==1.9.0
|
| 8 |
exceptiongroup==1.2.2
|
|
|
|
| 9 |
fastapi==0.115.2
|
|
|
|
| 10 |
ffmpy==0.4.0
|
| 11 |
filelock==3.16.1
|
|
|
|
|
|
|
| 12 |
fsspec==2024.9.0
|
| 13 |
gradio==5.1.0
|
| 14 |
gradio_client==1.4.0
|
|
@@ -18,44 +42,116 @@ httpcore==1.0.6
|
|
| 18 |
httpx==0.27.2
|
| 19 |
huggingface-hub==0.25.2
|
| 20 |
idna==3.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
Jinja2==3.1.4
|
|
|
|
| 22 |
jsonpatch==1.33
|
| 23 |
jsonpointer==3.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
langchain-core==0.3.10
|
| 25 |
langchain-groq==0.2.0
|
|
|
|
| 26 |
langsmith==0.1.135
|
| 27 |
markdown-it-py==3.0.0
|
| 28 |
MarkupSafe==2.1.5
|
|
|
|
|
|
|
| 29 |
mdurl==0.1.2
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
orjson==3.10.7
|
|
|
|
| 32 |
packaging==24.1
|
| 33 |
pandas==2.2.3
|
|
|
|
|
|
|
|
|
|
| 34 |
pillow==10.4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
pydantic==2.9.2
|
|
|
|
| 36 |
pydantic_core==2.23.4
|
| 37 |
pydub==0.25.1
|
| 38 |
Pygments==2.18.0
|
| 39 |
python-dateutil==2.9.0.post0
|
|
|
|
|
|
|
| 40 |
python-multipart==0.0.12
|
| 41 |
pytz==2024.2
|
| 42 |
PyYAML==6.0.2
|
|
|
|
|
|
|
| 43 |
requests==2.32.3
|
| 44 |
requests-toolbelt==1.0.0
|
|
|
|
|
|
|
| 45 |
rich==13.9.2
|
|
|
|
| 46 |
ruff==0.6.9
|
| 47 |
semantic-version==2.10.0
|
|
|
|
| 48 |
shellingham==1.5.4
|
| 49 |
six==1.16.0
|
| 50 |
sniffio==1.3.1
|
|
|
|
|
|
|
|
|
|
| 51 |
starlette==0.40.0
|
| 52 |
tenacity==8.5.0
|
|
|
|
|
|
|
|
|
|
| 53 |
tomlkit==0.12.0
|
|
|
|
| 54 |
tqdm==4.66.5
|
|
|
|
| 55 |
typer==0.12.5
|
|
|
|
|
|
|
| 56 |
typing_extensions==4.12.2
|
| 57 |
tzdata==2024.2
|
|
|
|
| 58 |
urllib3==2.2.3
|
| 59 |
uvicorn==0.32.0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
websockets==12.0
|
|
|
|
|
|
|
| 61 |
youtube-transcript-api==0.6.2
|
|
|
|
| 1 |
aiofiles==23.2.1
|
| 2 |
+
aiohappyeyeballs==2.4.3
|
| 3 |
+
aiohttp==3.10.10
|
| 4 |
+
aiosignal==1.3.1
|
| 5 |
annotated-types==0.7.0
|
| 6 |
anyio==4.6.2.post1
|
| 7 |
+
appnope==0.1.4
|
| 8 |
+
argon2-cffi==23.1.0
|
| 9 |
+
argon2-cffi-bindings==21.2.0
|
| 10 |
+
arrow==1.3.0
|
| 11 |
+
asttokens==2.4.1
|
| 12 |
+
async-lru==2.0.4
|
| 13 |
+
async-timeout==4.0.3
|
| 14 |
+
attrs==24.2.0
|
| 15 |
+
babel==2.16.0
|
| 16 |
+
beautifulsoup4==4.12.3
|
| 17 |
+
bleach==6.1.0
|
| 18 |
certifi==2024.8.30
|
| 19 |
+
cffi==1.17.1
|
| 20 |
charset-normalizer==3.4.0
|
| 21 |
click==8.1.7
|
| 22 |
+
comm==0.2.2
|
| 23 |
+
dataclasses-json==0.6.7
|
| 24 |
+
debugpy==1.8.7
|
| 25 |
+
decorator==5.1.1
|
| 26 |
+
defusedxml==0.7.1
|
| 27 |
distro==1.9.0
|
| 28 |
exceptiongroup==1.2.2
|
| 29 |
+
executing==2.1.0
|
| 30 |
fastapi==0.115.2
|
| 31 |
+
fastjsonschema==2.20.0
|
| 32 |
ffmpy==0.4.0
|
| 33 |
filelock==3.16.1
|
| 34 |
+
fqdn==1.5.1
|
| 35 |
+
frozenlist==1.4.1
|
| 36 |
fsspec==2024.9.0
|
| 37 |
gradio==5.1.0
|
| 38 |
gradio_client==1.4.0
|
|
|
|
| 42 |
httpx==0.27.2
|
| 43 |
huggingface-hub==0.25.2
|
| 44 |
idna==3.10
|
| 45 |
+
ipykernel==6.29.5
|
| 46 |
+
ipython==8.28.0
|
| 47 |
+
ipywidgets==8.1.5
|
| 48 |
+
isoduration==20.11.0
|
| 49 |
+
jedi==0.19.1
|
| 50 |
Jinja2==3.1.4
|
| 51 |
+
json5==0.9.25
|
| 52 |
jsonpatch==1.33
|
| 53 |
jsonpointer==3.0.0
|
| 54 |
+
jsonschema==4.23.0
|
| 55 |
+
jsonschema-specifications==2024.10.1
|
| 56 |
+
jupyter==1.1.1
|
| 57 |
+
jupyter-console==6.6.3
|
| 58 |
+
jupyter-events==0.10.0
|
| 59 |
+
jupyter-lsp==2.2.5
|
| 60 |
+
jupyter_client==8.6.3
|
| 61 |
+
jupyter_core==5.7.2
|
| 62 |
+
jupyter_server==2.14.2
|
| 63 |
+
jupyter_server_terminals==0.5.3
|
| 64 |
+
jupyterlab==4.2.5
|
| 65 |
+
jupyterlab_pygments==0.3.0
|
| 66 |
+
jupyterlab_server==2.27.3
|
| 67 |
+
jupyterlab_widgets==3.0.13
|
| 68 |
+
langchain==0.3.3
|
| 69 |
+
langchain-community==0.3.2
|
| 70 |
langchain-core==0.3.10
|
| 71 |
langchain-groq==0.2.0
|
| 72 |
+
langchain-text-splitters==0.3.0
|
| 73 |
langsmith==0.1.135
|
| 74 |
markdown-it-py==3.0.0
|
| 75 |
MarkupSafe==2.1.5
|
| 76 |
+
marshmallow==3.22.0
|
| 77 |
+
matplotlib-inline==0.1.7
|
| 78 |
mdurl==0.1.2
|
| 79 |
+
mistune==3.0.2
|
| 80 |
+
multidict==6.1.0
|
| 81 |
+
mypy-extensions==1.0.0
|
| 82 |
+
nbclient==0.10.0
|
| 83 |
+
nbconvert==7.16.4
|
| 84 |
+
nbformat==5.10.4
|
| 85 |
+
nest-asyncio==1.6.0
|
| 86 |
+
notebook==7.2.2
|
| 87 |
+
notebook_shim==0.2.4
|
| 88 |
+
numpy==1.26.4
|
| 89 |
orjson==3.10.7
|
| 90 |
+
overrides==7.7.0
|
| 91 |
packaging==24.1
|
| 92 |
pandas==2.2.3
|
| 93 |
+
pandocfilters==1.5.1
|
| 94 |
+
parso==0.8.4
|
| 95 |
+
pexpect==4.9.0
|
| 96 |
pillow==10.4.0
|
| 97 |
+
platformdirs==4.3.6
|
| 98 |
+
prometheus_client==0.21.0
|
| 99 |
+
prompt_toolkit==3.0.48
|
| 100 |
+
propcache==0.2.0
|
| 101 |
+
psutil==6.0.0
|
| 102 |
+
ptyprocess==0.7.0
|
| 103 |
+
pure_eval==0.2.3
|
| 104 |
+
pycparser==2.22
|
| 105 |
pydantic==2.9.2
|
| 106 |
+
pydantic-settings==2.5.2
|
| 107 |
pydantic_core==2.23.4
|
| 108 |
pydub==0.25.1
|
| 109 |
Pygments==2.18.0
|
| 110 |
python-dateutil==2.9.0.post0
|
| 111 |
+
python-dotenv==1.0.1
|
| 112 |
+
python-json-logger==2.0.7
|
| 113 |
python-multipart==0.0.12
|
| 114 |
pytz==2024.2
|
| 115 |
PyYAML==6.0.2
|
| 116 |
+
pyzmq==26.2.0
|
| 117 |
+
referencing==0.35.1
|
| 118 |
requests==2.32.3
|
| 119 |
requests-toolbelt==1.0.0
|
| 120 |
+
rfc3339-validator==0.1.4
|
| 121 |
+
rfc3986-validator==0.1.1
|
| 122 |
rich==13.9.2
|
| 123 |
+
rpds-py==0.20.0
|
| 124 |
ruff==0.6.9
|
| 125 |
semantic-version==2.10.0
|
| 126 |
+
Send2Trash==1.8.3
|
| 127 |
shellingham==1.5.4
|
| 128 |
six==1.16.0
|
| 129 |
sniffio==1.3.1
|
| 130 |
+
soupsieve==2.6
|
| 131 |
+
SQLAlchemy==2.0.36
|
| 132 |
+
stack-data==0.6.3
|
| 133 |
starlette==0.40.0
|
| 134 |
tenacity==8.5.0
|
| 135 |
+
terminado==0.18.1
|
| 136 |
+
tinycss2==1.3.0
|
| 137 |
+
tomli==2.0.2
|
| 138 |
tomlkit==0.12.0
|
| 139 |
+
tornado==6.4.1
|
| 140 |
tqdm==4.66.5
|
| 141 |
+
traitlets==5.14.3
|
| 142 |
typer==0.12.5
|
| 143 |
+
types-python-dateutil==2.9.0.20241003
|
| 144 |
+
typing-inspect==0.9.0
|
| 145 |
typing_extensions==4.12.2
|
| 146 |
tzdata==2024.2
|
| 147 |
+
uri-template==1.3.0
|
| 148 |
urllib3==2.2.3
|
| 149 |
uvicorn==0.32.0
|
| 150 |
+
wcwidth==0.2.13
|
| 151 |
+
webcolors==24.8.0
|
| 152 |
+
webencodings==0.5.1
|
| 153 |
+
websocket-client==1.8.0
|
| 154 |
websockets==12.0
|
| 155 |
+
widgetsnbextension==4.0.13
|
| 156 |
+
yarl==1.15.3
|
| 157 |
youtube-transcript-api==0.6.2
|