chore: requirements
Some checks failed
Deploy to HuggingFace Spaces / check-secret (push) Successful in 14s
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Failing after 1m56s
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Failing after 2m9s
Create and publish Docker images with specific build args / merge-main-images (push) Has been skipped
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Failing after 2m4s
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Failing after 2m1s
Create and publish Docker images with specific build args / merge-cuda-images (push) Has been skipped
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Failing after 2m4s
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Failing after 1m59s
Create and publish Docker images with specific build args / merge-ollama-images (push) Has been skipped
Python CI / Format Backend (3.11) (push) Failing after 1m12s
Frontend Build / Format & Build Frontend (push) Failing after 1m2s
Frontend Build / Frontend Unit Tests (push) Failing after 56s
Integration Test / Run Cypress Integration Tests (push) Failing after 1m58s
Integration Test / Run Migration Tests (push) Failing after 1m23s
Deploy to HuggingFace Spaces / deploy (push) Has been skipped

This commit is contained in:
Timothy Jaeryang Baek 2024-11-20 06:53:11 -08:00
parent 2450953080
commit d68aa5c708
3 changed files with 6 additions and 7 deletions

View File

@ -1060,10 +1060,9 @@ def process_youtube_video(form_data: ProcessUrlForm, user=Depends(get_verified_u
collection_name = calculate_sha256_string(form_data.url)[:63]
loader = YoutubeLoader.from_youtube_url(
form_data.url,
language=app.state.config.YOUTUBE_LOADER_LANGUAGE,
translation=app.state.YOUTUBE_LOADER_TRANSLATION,
form_data.url, language=app.state.config.YOUTUBE_LOADER_LANGUAGE
)
docs = loader.load()
content = " ".join([doc.page_content for doc in docs])
log.debug(f"text_content: {content}")

View File

@ -37,8 +37,8 @@ anthropic
google-generativeai==0.7.2
tiktoken
langchain==0.3.5
langchain-community==0.3.3
langchain==0.3.7
langchain-community==0.3.7
langchain-chroma==0.1.4
fake-useragent==1.5.1

View File

@ -44,8 +44,8 @@ dependencies = [
"google-generativeai==0.7.2",
"tiktoken",
"langchain==0.3.5",
"langchain-community==0.3.3",
"langchain==0.3.7",
"langchain-community==0.3.7",
"langchain-chroma==0.1.4",
"fake-useragent==1.5.1",