Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,6 @@ client = OpenAI(
|
|
20 |
# Streamlit App UI
|
21 |
st.title("🎥 AI-Powered Video Summarization")
|
22 |
# Define custom CSS
|
23 |
-
|
24 |
-
|
25 |
def set_background(image_file):
|
26 |
with open(image_file, "rb") as image:
|
27 |
encoded_string = base64.b64encode(image.read()).decode()
|
@@ -40,11 +38,8 @@ def set_background(image_file):
|
|
40 |
unsafe_allow_html=True
|
41 |
)
|
42 |
|
43 |
-
|
44 |
-
|
45 |
# Set background
|
46 |
set_background("background.jpg")
|
47 |
-
|
48 |
|
49 |
uploaded_file = st.file_uploader("📤 Upload a Video File", type=["mp4"])
|
50 |
|
|
|
20 |
# Streamlit App UI
|
21 |
st.title("🎥 AI-Powered Video Summarization")
|
22 |
# Define custom CSS
|
|
|
|
|
23 |
def set_background(image_file):
|
24 |
with open(image_file, "rb") as image:
|
25 |
encoded_string = base64.b64encode(image.read()).decode()
|
|
|
38 |
unsafe_allow_html=True
|
39 |
)
|
40 |
|
|
|
|
|
41 |
# Set background
|
42 |
set_background("background.jpg")
|
|
|
43 |
|
44 |
uploaded_file = st.file_uploader("📤 Upload a Video File", type=["mp4"])
|
45 |
|