Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def youtube_link_dataloader(video_link,max_video_length=1000):
|
|
| 29 |
|
| 30 |
def youtube_chat(API_key=None,llm_service='mistralai/Mistral-7B-v0.1',youtube_link=None,char_length=2000):
|
| 31 |
|
| 32 |
-
video_document = youtube_link_dataloader(youtube_link,
|
| 33 |
print("docuemt:",document)
|
| 34 |
|
| 35 |
if llm_service== 'mistralai/Mistral-7B-v0.1':
|
|
|
|
| 29 |
|
| 30 |
def youtube_chat(API_key=None,llm_service='mistralai/Mistral-7B-v0.1',youtube_link=None,char_length=2000):
|
| 31 |
|
| 32 |
+
video_document = youtube_link_dataloader(video_link=youtube_link,max_video_length=char_length)
|
| 33 |
print("docuemt:",document)
|
| 34 |
|
| 35 |
if llm_service== 'mistralai/Mistral-7B-v0.1':
|