Spaces:
Runtime error
Runtime error
JoshuaKelleyDs
commited on
Commit
•
f7e5fb4
1
Parent(s):
c63c9d3
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ async def create_youtube_transcription(youtube_url: str) -> List[langchain_core.
|
|
86 |
youtube_docs = loader.load() # this loads the transcript
|
87 |
return youtube_docs
|
88 |
except Exception as e:
|
89 |
-
await cl.Message(content=f"
|
90 |
|
91 |
|
92 |
######## RAG ########
|
|
|
86 |
youtube_docs = loader.load() # this loads the transcript
|
87 |
return youtube_docs
|
88 |
except Exception as e:
|
89 |
+
await cl.Message(content=f"Error: {e} Please refresh the page").send() # display the error if we failed to load the youtube video
|
90 |
|
91 |
|
92 |
######## RAG ########
|