Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -317,7 +317,8 @@ def process_video_with_gpt(video_input, user_prompt):
|
|
317 |
)
|
318 |
|
319 |
return response.choices[0].message.content
|
320 |
-
|
|
|
321 |
def create_media_gallery():
|
322 |
st.header("🎬 Media Gallery")
|
323 |
|
|
|
317 |
)
|
318 |
|
319 |
return response.choices[0].message.content
|
320 |
+
|
321 |
+
@st.cache_resource
|
322 |
def create_media_gallery():
|
323 |
st.header("🎬 Media Gallery")
|
324 |
|