Samarth991 commited on
Commit
471d274
·
1 Parent(s): b535e29

adding video examples as Radio and linking to fn

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -71,6 +71,7 @@ def create_prompt():
71
  def youtube_chat(youtube_link,API_key,llm='HuggingFace',temperature=0.1,max_tokens=1096,char_length=1500):
72
 
73
  document = process_youtube_link(link=youtube_link)
 
74
  embedding_model = SentenceTransformerEmbeddings(model_name='thenlper/gte-base',model_kwargs={"device": DEVICE})
75
  texts = process_documents(documents=document)
76
  global vector_db
 
71
  def youtube_chat(youtube_link,API_key,llm='HuggingFace',temperature=0.1,max_tokens=1096,char_length=1500):
72
 
73
  document = process_youtube_link(link=youtube_link)
74
+ print("docuemt:",document)
75
  embedding_model = SentenceTransformerEmbeddings(model_name='thenlper/gte-base',model_kwargs={"device": DEVICE})
76
  texts = process_documents(documents=document)
77
  global vector_db