Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import requests
|
| 3 |
-
import requests
|
| 4 |
from pytube import YouTube
|
| 5 |
import os
|
| 6 |
from twelvelabs.models.task import Task
|
|
@@ -82,9 +81,14 @@ with tab3:
|
|
| 82 |
# Integration and API controls could be managed here
|
| 83 |
|
| 84 |
with tab4:
|
|
|
|
| 85 |
st.header("Video Prompt")
|
| 86 |
st.write("Information and controls related to the Scrum TruEra Assistants API.")
|
| 87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
# Input for modifying the prompt
|
| 89 |
prompt = st.text_input("Enter your prompt:",
|
| 90 |
"list the top 4 job interview mistakes and how to improve")
|
|
@@ -116,8 +120,7 @@ with tab4:
|
|
| 116 |
|
| 117 |
# Run this script using the following command:
|
| 118 |
# streamlit run your_script_name.py
|
| 119 |
-
|
| 120 |
-
|
| 121 |
|
| 122 |
with tab5:
|
| 123 |
st.header("Unique Value Add")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import requests
|
|
|
|
| 3 |
from pytube import YouTube
|
| 4 |
import os
|
| 5 |
from twelvelabs.models.task import Task
|
|
|
|
| 81 |
# Integration and API controls could be managed here
|
| 82 |
|
| 83 |
with tab4:
|
| 84 |
+
|
| 85 |
st.header("Video Prompt")
|
| 86 |
st.write("Information and controls related to the Scrum TruEra Assistants API.")
|
| 87 |
+
|
| 88 |
+
# Embedding YouTube video directly in the Streamlit interface
|
| 89 |
+
youtube_url = "https://www.youtube.com/watch?v=_3Rii8wfHYY"
|
| 90 |
+
st.video(youtube_url)
|
| 91 |
+
|
| 92 |
# Input for modifying the prompt
|
| 93 |
prompt = st.text_input("Enter your prompt:",
|
| 94 |
"list the top 4 job interview mistakes and how to improve")
|
|
|
|
| 120 |
|
| 121 |
# Run this script using the following command:
|
| 122 |
# streamlit run your_script_name.py
|
| 123 |
+
|
|
|
|
| 124 |
|
| 125 |
with tab5:
|
| 126 |
st.header("Unique Value Add")
|